Editare

Partajați prin


MetaModel.ProviderType Property

Definition

When overridden in a derived class, gets or sets the provider type.

public:
 abstract property Type ^ ProviderType { Type ^ get(); };
public abstract Type ProviderType { get; }
member this.ProviderType : Type
Public MustOverride ReadOnly Property ProviderType As Type

Property Value

The provider type.

Remarks

If this property is specified, an existing provider type can be used. This will eliminate a round trip to the server to obtain this information. LINQ to SQL has to know the provider type to establish appropriate query translation rules. LINQ to SQL supports Sql2000Provider and Sql2005Provider providers.

Applies to