MetaModel::ProviderType Property

 

Gets or sets the provider type.

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

public:
property Type^ ProviderType {
	virtual Type^ get() abstract;
}

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
Show: