You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request - Porting Microsoft SQL Server Type dll to .net core #2273
@nishant-newton Microsoft.SqlServer.Types is part of the SQL Server product. We have talked to SQL Server team about adding support for .NET Core but there isn't a concrete plan we can share at the moment.
Also @dotMorten has created a version of Microsoft.SqlServer.Types. the library for .NET Core, but my understanding is that it does not implement spatial calculations.
There are also a few challenges to make Microsoft.SQLServer.Types available to .NET Core:
Microsoft.SqlServer.Types.dll is SQL Server version-specific
Activity
karelz commentedon Jan 31, 2019
@divega can you please comment or route?
divega commentedon Jan 31, 2019
@nishant-newton Microsoft.SqlServer.Types is part of the SQL Server product. We have talked to SQL Server team about adding support for .NET Core but there isn't a concrete plan we can share at the moment.
In the meantime, for spatial data, we have implemented compatibility with other types that exist in .NET Core, called NetTopologySuite. In the comment at https://github.com/dotnet/corefx/issues/12034#issuecomment-436732668 explains how we are using that library in EF Core 2.2, but the types and the ability to serialize and deserialize geography and geometry columns from SQL Server is available at the ADO.NET layer using NetTopologySuite.IO.SqlServerBytes.
Also @dotMorten has created a version of Microsoft.SqlServer.Types. the library for .NET Core, but my understanding is that it does not implement spatial calculations.
There are also a few challenges to make Microsoft.SQLServer.Types available to .NET Core:
@karelz This issue can be considered a duplicate of https://github.com/dotnet/corefx/issues/31775. However it is not directly actionable by the .NET team, but by an internal partner. What do you think would be the best place to keep this open as a feature request?
karelz commentedon Jan 31, 2019
Duplicate of https://github.com/dotnet/corefx/issues/31775
karelz commentedon Jan 31, 2019
Closed as dupe. If the CoreFX issue is in wrong place, let's move it to the right place, or at least mark it as "external".