Fluentmigrator: Move to Microsoft.Data.SqlClient

Created on 6 May 2019  路  6Comments  路  Source: fluentmigrator/fluentmigrator

Now that the preview of Microsoft.Data.SqlClient is available in NuGet, we should be able to use it.

sql-server improvement

Most helpful comment

Any update on this?

All 6 comments

Microsoft.Data.SqlClient is no more in preview, I think it's a fair move to go for it.

It's coming. Unfortunately, during COVID lockdown, I spilled tea on my keyboard, and am waiting on Amazon for a replacement, so I didn't get around to wrapping up 3.3.0 release this weekend.

Got a new keyboard? Any plans on wrapping this one up?

Any update on this?

https://github.com/dotnet/SqlClient#supportability

Just verified that this package works on 4.6.1

Merging.

It works but there seems to be some kind of locking of the dll for Microsoft.Data.SqlClient.SNI.
Example. I have an ASP.NET MVC 5 site which also runs migrations using FluentMigrator, hosting it in IIS and rebuilding the solution fails because the dll is locked by the IIS process.
using (var scope = ServiceProvider.CreateScope()) doesn't seem to help with releasing resources.

Was this page helpful?
0 / 5 - 0 ratings