Partager via


MetaModel.ProviderType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the provider type.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ProviderType As Type
public abstract Type ProviderType { get; }

Property Value

Type: System.Type
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.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.