-
Notifications
You must be signed in to change notification settings - Fork 299
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
SqlClient: Allow |DataDirectory| macro in AttachDBFilename #16
Comments
As recently announced in the .NET Blog, focus on new SqlClient features an improvements is moving to the new Microsoft.Data.SqlClient package. For this reason, we are moving this issue to the new repo at https://github.com/dotnet/SqlClient. We will still use https://github.com/dotnet/corefx to track issues on other providers like System.Data.Odbc and System.Data.OleDB, and general ADO.NET and .NET data access issues. |
FYI: Customer porting application from .NET Framework hit this limitation: dotnet/efcore#17723. |
We're facing this on some of our demo applications after we made them compatible with the recent EF 6.3 release + .NET Core 3.0. |
Yes, it is awaiting review from @saurabh500 |
Closing as #284 has been merged and fix will be available in v1.1.0 |
@bricelam Assume this is too late for 3.1 ? |
Yeah, but we already have the code to handle |DataDirectory| during CREATE DATABASE in EF Core 3.0.0, so if you just update SqlClient it should all work. |
Now that .NET Standard 2.0 includes
AppDomain.GetData
, there shouldn't be anything blocking the implementation to expand the|DataDirectory|
substitution string in theAttachDBFilename
value of the connection string.The text was updated successfully, but these errors were encountered: