EntityConnectionStringBuilder Constructor ()
Initializes a new instance of the EntityConnectionStringBuilder class.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The following example demonstrates how to use the EntityConnectionStringBuilder in conjunction with a SqlConnectionStringBuilder. The code sets properties of a SqlConnectionStringBuilder to create a SqlConnection connection string that supplies part of the underlying provider connection string. Note that the Provider name cannot be set using the SqlConnectionStringBuilder because it is not valid SqlConnection connection string syntax. The code creates the EntityConnection connection string by setting EntityConnectionStringBuilder properties.
Available since 3.5