I just wanted to use MySQLConnectionStringBuilder to build a connection string and realized that I can’t do that, because I don’t have access to the Create method – it is protected internal.
Is there a specific reason why this method isn’t public?
I just wanted to use MySQLConnectionStringBuilder to build a connection string and realized that
Share
to hide it when specifying ConnectionString(c => c.). Also note that it doesnt implement defaultvalues like the ConnectionStringBuilder in the MySql.Data.dll,
MySql.MySqlConnectionStringBuilderwhich should be used instead.you need a reference to MySql.Data.dll in your project