MetaModel.ProviderType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the provider type.

Namespace:   System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract Type ProviderType { get; }

Property Value

Type: System.Type

The provider type.

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. 

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top