EntityConnectionStringBuilder.ProviderConnectionString Property


Gets or sets the inner, provider-specific connection string.

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public string ProviderConnectionString { get; set; }

Property Value

Type: System.String

The inner, provider-specific connection string.

The provider-specific connection string is not checked for valid keyword/value pairs before it is set. Developers can create connection strings by using either a strongly typed connection string builder class, or they can use the DbConnectionStringBuilder class. The DbConnectionStringBuilder performs no checks for valid keyword/value pairs. Therefore, it is possible using this class to create invalid connection strings.

For valid keyword/value syntax, see ConnectionString.

.NET Framework
Available since 3.5
Return to top