-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate build against Microsoft.Data.SqlClient? #29
Comments
@MaceWindu I'm not sure I'm following? What do you mean 'new SqlClient' and re-declared attributes? I followed the link but didn't really get the relation to this repo. |
By new client I mean Right now it is not possible to use dotMorten.Microsoft.SqlServer.Types with new client, because it built against System.Data.SqlClient. Supporting both clients is pretty easy as they have same public surface API, so it just depends on wether anybody interested in such support. |
UGH! Why did they have to go and do that?!? Grrrrr |
From the looks of it, this new client relies on native code and only works on Windows and Linux. If there's no support for iOS, Android and all the other .NET Standard compatible platforms, I don't really see a good reason to move to this new one. |
They did it so that the SqlClient can improve and ship frequently without being tied to CoreFx og NetFX. |
FYI, could be useful https://github.com/dotnet/SqlClient/blob/master/porting-cheat-sheet.md |
Just chiming in to say we might find this separate build potentially useful. We have a .NET Core 2 application that uses the HierarchyID data type. We are currently in the process of migrating this application to .NET Core 3, but found that HierarchyID stopped working. We were using the "official" Following various discussions in the linked issues, we tried the suggestion of building It worked (requiring only minor changes to some Here are the caveats we found:
For item 1, here is how we overcame the strong-name requirement (this is for an ASP.NET Core web application, goes into
|
+1, yes please. |
Hey everyone, However, I just wanted to ask if there is anything we can do to help you with the progress on this one? It seems that |
@dotMorten Hey that pull request for moving over to Microsoft.Data.SqlClient looks great. Thanks for all the work you've done on this, it makes working with the geo types possible! |
Sorry for dropping the ball on this. I got some work in progress for this taking a bit different and easier to maintain approach. Basically v1.x will be the only package and v2.x will be the new package dependency. Both will be maintained side-by-side and using some C#10 features to make it really easy to do. |
Recently I tried to run
Microsoft.SqlServer.Types
against new SqlClient and found out that it is not possible due to fact that Microsoft re-declared attributes likeSqlUserDefinedTypeAttribute
in new provider. See more details here.Don't know if anybody will want to use
Microsoft.SqlServer.Types
with new provider (we are not end-users), so I propose to use this issue to see if it is a wanted feature.The text was updated successfully, but these errors were encountered: