Released: Second Public Preview of Microsoft.Data.SqlClient
Published Jul 08 2019 04:11 PM 3,037 Views
Steel Contributor

We are addressing issues from the first preview of Microsoft.Data.SqlClient and looking for additional feedback on the new library and features introduced in the first preview.

 

To try out the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application.

 

We have addressed the Microsoft.SqlServer.Server namespace conflict apparent from the first preview by moving the relevant classes under Microsoft.Data.SqlClient.Server. The relevant classes include SqlDataRecord, SqlMetaData, and classes used for User Data Types (UDTs). We are aware of limitations related to reading and writing UDTs using Microsoft.Data.SqlClient and are working on making the library as compatible as possible with UDTs.

 

The other major change we made in this preview was splitting out the native code into its own library when targeting .NET Framework. This fixes the issue of only being able to target x64 on .NET Framework when taking a dependency on the NuGet package. You can now target x86, x64, or AnyCPU and Microsoft.Data.SqlClient.dll will load the appropriate x86 or x64 native library dependency at runtime.

 

For the current list of changes in Microsoft.Data.SqlClient 1.0, please see the Release Notes.

 

Again, to try out the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application. We appreciate the time and effort you spend checking out our previews. It makes the final product that much better. If you encounter any issues or have any feedback, head over to the SqlClient GitHub repository and submit an issue.

 

David Engel

Version history
Last update:
‎Nov 18 2020 03:23 PM
Updated by: