Skip to content
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

Setting connection string builder property to null should remove it #749

Closed
bgrainger opened this issue Dec 9, 2019 · 1 comment
Closed
Labels

Comments

@bgrainger
Copy link
Member

@bgrainger bgrainger commented Dec 9, 2019

Execute the following code:

var csb = new MySqlConnectionStringBuilder();
csb.Server = "abc";
csb.Server = null;
csb.UserID = "abc";
csb.UserID = null;
Console.WriteLine(csb.ConnectionString);

Expected output is ""; actual output is "Server=;User Id=".

Via dotnet/runtime#689.

@bgrainger
Copy link
Member Author

@bgrainger bgrainger commented Mar 7, 2020

Fixed in 0.62.0.

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

No branches or pull requests

1 participant