EFCore5.0.AutomaticMigrations.NetTopologySuite 5.0.7

.NET 5.0
dotnet add package EFCore5.0.AutomaticMigrations.NetTopologySuite --version 5.0.7
NuGet\Install-Package EFCore5.0.AutomaticMigrations.NetTopologySuite -Version 5.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#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

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();

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.7 584 6/9/2021

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