EntityConnectionStringBuilder.Provider Property

Definition

Gets or sets the name of the underlying .NET Framework data provider in the connection string.

public:
 property System::String ^ Provider { System::String ^ get(); void set(System::String ^ value); };
public string Provider { get; set; }
member this.Provider : string with get, set
Public Property Provider As String

Property Value

The invariant name of the underlying .NET Framework data provider.

Remarks

The invariant provider name is used retrieve the DbProviderFactory object for the underlying provider.

For valid keyword/value syntax, see ConnectionString.

Applies to

See also