Freigeben über


AdoDotNetParameter Constructors

Definition

Overloads

AdoDotNetParameter(DbParameter)

Initializes a new instance of the AdoDotNetParameter class with a parameter object.

AdoDotNetParameter(String)

Initializes a new instance of the AdoDotNetParameter class with a parameter string value.

AdoDotNetParameter(DbParameter, Boolean)

Initializes a new instance of the AdoDotNetParameter class with a parameter object and an indication of whether the parameter is derived using the DeriveParameters(String, DataCommandType, Int32) method.

AdoDotNetParameter(String, Boolean)

Initializes a new instance of the AdoDotNetParameter class with the name of the data provider and an indication of whether the parameter is derived using the DeriveParameters(String, DataCommandType, Int32) method.

AdoDotNetParameter(DbParameter)

Initializes a new instance of the AdoDotNetParameter class with a parameter object.

public:
 AdoDotNetParameter(System::Data::Common::DbParameter ^ parameter);
public AdoDotNetParameter (System.Data.Common.DbParameter parameter);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter : System.Data.Common.DbParameter -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter
Public Sub New (parameter As DbParameter)

Parameters

parameter
DbParameter

A DbParameter object containing a command parameter.

Applies to

AdoDotNetParameter(String)

Initializes a new instance of the AdoDotNetParameter class with a parameter string value.

public:
 AdoDotNetParameter(System::String ^ providerInvariantName);
public AdoDotNetParameter (string providerInvariantName);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter : string -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter
Public Sub New (providerInvariantName As String)

Parameters

providerInvariantName
String

The invariant name of the data provider.

Applies to

AdoDotNetParameter(DbParameter, Boolean)

Initializes a new instance of the AdoDotNetParameter class with a parameter object and an indication of whether the parameter is derived using the DeriveParameters(String, DataCommandType, Int32) method.

public:
 AdoDotNetParameter(System::Data::Common::DbParameter ^ parameter, bool isDerived);
public AdoDotNetParameter (System.Data.Common.DbParameter parameter, bool isDerived);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter : System.Data.Common.DbParameter * bool -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter
Public Sub New (parameter As DbParameter, isDerived As Boolean)

Parameters

parameter
DbParameter

A DbParameter object containing a command parameter.

isDerived
Boolean

Indicates whether the data parameter instance was created as a return value of the DeriveParameters(String, DataCommandType, Int32) method.

Applies to

AdoDotNetParameter(String, Boolean)

Initializes a new instance of the AdoDotNetParameter class with the name of the data provider and an indication of whether the parameter is derived using the DeriveParameters(String, DataCommandType, Int32) method.

public:
 AdoDotNetParameter(System::String ^ providerInvariantName, bool isDerived);
public AdoDotNetParameter (string providerInvariantName, bool isDerived);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter : string * bool -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetParameter
Public Sub New (providerInvariantName As String, isDerived As Boolean)

Parameters

providerInvariantName
String

The name of the data provider.

isDerived
Boolean

Indicates whether the data parameter instance was created as a return value of the DeriveParameters(String, DataCommandType, Int32) method.

Applies to