Description
In the past this type provider had support for SqlServer.Types a big part of which are the Spatial Data Types for SQLServer.
Today with the move to dotnetcore Microsoft.SqlServer.Types are no longer supported (only full framework). Dapper and Entityframework core both support NetTopologySuite as a replacement for the Geometry Sql Server Types. This library is much more widely supported and feature complete.
In order once again support Spatial Data Types, and to gain parity with other popular dotnet SQL libraries FSharp.Data.SqlClient should also support Spatial Data Types via NetTopologySuite.
Repro steps
Installing Microsoft.SqlServer.Types shows a warning that the package may not be fully compatible with your project.
Expected behavior
I would expect a path to use Spatial Data Types or support for custom types.
Actual behavior
It is not currently possible to use NetTopologySuite with this type provider.
Known workarounds
Use a different library.
Related information
- Database: SQL Server 2019
- Framework: dotnetcore 2.1
Description
In the past this type provider had support for
SqlServer.Typesa big part of which are the Spatial Data Types for SQLServer.Today with the move to dotnetcore
Microsoft.SqlServer.Typesare no longer supported (only full framework). Dapper and Entityframework core both supportNetTopologySuiteas a replacement for the Geometry Sql Server Types. This library is much more widely supported and feature complete.In order once again support Spatial Data Types, and to gain parity with other popular dotnet SQL libraries
FSharp.Data.SqlClientshould also support Spatial Data Types viaNetTopologySuite.Repro steps
Installing
Microsoft.SqlServer.Typesshows a warning that the package may not be fully compatible with your project.Expected behavior
I would expect a path to use
Spatial Data Typesor support for custom types.Actual behavior
It is not currently possible to use
NetTopologySuitewith this type provider.Known workarounds
Use a different library.
Related information