Skip to content

Feature Request - Porting Microsoft SQL Server Type dll to .net core #2273

Closed

Description

@nishant-newton

Want to check whether MS has any plan to port Microsoft.SQLServer.Types library to .net core.

I could not see any plan for this library to be made available for .net core.

With the inbuilt support for Geo processing this is a very useful library but unfortunately can not be used in .net core / standard?

Activity

  1. karelz commented on Jan 31, 2019

    @karelz
    Member

    @divega can you please comment or route?

  2. divega commented on Jan 31, 2019

    @divega

    @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:

    • Microsoft.SqlServer.Types.dll is SQL Server version-specific
    • At least part of the code is written in C++

    @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?

  3. karelz commented on Jan 31, 2019

    @karelz
    Member

    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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions