EFCore5.0.AutomaticMigrations.NetTopologySuite
5.0.7
dotnet add package EFCore5.0.AutomaticMigrations.NetTopologySuite --version 5.0.7
NuGet\Install-Package EFCore5.0.AutomaticMigrations.NetTopologySuite -Version 5.0.7
<PackageReference Include="EFCore5.0.AutomaticMigrations.NetTopologySuite" Version="5.0.7" />
paket add EFCore5.0.AutomaticMigrations.NetTopologySuite --version 5.0.7
#r "nuget: EFCore5.0.AutomaticMigrations.NetTopologySuite, 5.0.7"
// 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:
Enable mapping to spatial types via NTS options.UseSqlServer( @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Database", x ⇒ x.UseNetTopologySuite());
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 |
-
net5.0
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 5.0.7)
- Microsoft.CodeAnalysis.CSharp (>= 3.9.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 5.0.7)
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 | 612 | 6/9/2021 |
Entity Framework Core 5.0 Automatic Migrations NetTopologySuite support for the Microsoft SQL Server database (spatial data).