Editare

Partajați prin


ProviderAttribute Constructors

Definition

Initializes a new instance of the ProviderAttribute class.

Overloads

ProviderAttribute()

Initializes a new instance of the ProviderAttribute class.

ProviderAttribute(Type)

Initializes a new instance of the ProviderAttribute class.

ProviderAttribute()

Initializes a new instance of the ProviderAttribute class.

public:
 ProviderAttribute();
public ProviderAttribute ();
Public Sub New ()

Applies to

ProviderAttribute(Type)

Initializes a new instance of the ProviderAttribute class.

public:
 ProviderAttribute(Type ^ type);
public ProviderAttribute (Type type);
new System.Data.Linq.Mapping.ProviderAttribute : Type -> System.Data.Linq.Mapping.ProviderAttribute
Public Sub New (type As Type)

Parameters

type
Type

The provider type to use to construct the ProviderAttribute.

Remarks

LINQ to SQL supports Sql2000Provider, Sql2005Provider, and Sql2008Provider providers. These are subclasses of SqlProvider.

Applies to