EFCore5.0.AutomaticMigrations.NetTopologySuite 5.0.7

Enable Automatic Migrations for Entity Framework Core NetTopologySuite  for the Microsoft SQL Server databases.

How to use:
   1. Enable mapping to spatial types via NTS
  options.UseSqlServer( @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Database", x => x.UseNetTopologySuite());

  2. Enable automatic migrations
   Call: MigrateDatabaseToLatestVersion.ExecuteAsync(context).Wait();

Install-Package EFCore5.0.AutomaticMigrations.NetTopologySuite -Version 5.0.7
dotnet add package EFCore5.0.AutomaticMigrations.NetTopologySuite --version 5.0.7
<PackageReference Include="EFCore5.0.AutomaticMigrations.NetTopologySuite" Version="5.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EFCore5.0.AutomaticMigrations.NetTopologySuite --version 5.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EFCore5.0.AutomaticMigrations.NetTopologySuite, 5.0.7"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EFCore5.0.AutomaticMigrations.NetTopologySuite as a Cake Addin
#addin nuget:?package=EFCore5.0.AutomaticMigrations.NetTopologySuite&version=5.0.7

// Install EFCore5.0.AutomaticMigrations.NetTopologySuite as a Cake Tool
#tool nuget:?package=EFCore5.0.AutomaticMigrations.NetTopologySuite&version=5.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Net Topology Suite support for Point, MultiPoint, Polygon, MultiPolygon, Coordinate, CoordinateList

How to use:

  1. Enable mapping to spatial types via NTS options.UseSqlServer( @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Database", x ⇒ x.UseNetTopologySuite());

  2. Enable automatic migrations Call: MigrateDatabaseToLatestVersion.ExecuteAsync(context).Wait();

Net Topology Suite support for Point, MultiPoint, Polygon, MultiPolygon, Coordinate, CoordinateList

How to use:

  1. Enable mapping to spatial types via NTS options.UseSqlServer( @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Database", x ⇒ x.UseNetTopologySuite());

  2. Enable automatic migrations Call: MigrateDatabaseToLatestVersion.ExecuteAsync(context).Wait();

Release Notes

Entity Framework Core 5.0 Automatic Migrations NetTopologySuite support for the Microsoft SQL Server database (spatial data).

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
5.0.7 166 6/9/2021