Export (0) Print
Expand All

SqlParameter Constructor

Initializes a new instance of the SqlParameter class.

Name Description
SqlParameter () Initializes a new instance of the SqlParameter class.

Supported by the .NET Compact Framework.

SqlParameter (String, Object) Initializes a new instance of the SqlParameter class that uses the parameter name and a value of the new SqlParameter.

Supported by the .NET Compact Framework.

SqlParameter (String, SqlDbType) Initializes a new instance of the SqlParameter class that uses the parameter name and the data type.

Supported by the .NET Compact Framework.

SqlParameter (String, SqlDbType, Int32) Initializes a new instance of the SqlParameter class that uses the parameter name, the SqlDbType, and the size.

Supported by the .NET Compact Framework.

SqlParameter (String, SqlDbType, Int32, String) Initializes a new instance of the SqlParameter class that uses the parameter name, the SqlDbType, the size, and the source column name.

Supported by the .NET Compact Framework.

SqlParameter (String, SqlDbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) Initializes a new instance of the SqlParameter class that uses the parameter name, the type of the parameter, the size of the parameter, a ParameterDirection, the precision of the parameter, the scale of the parameter, the source column, a DataRowVersion to use, and the value of the parameter.

Supported by the .NET Compact Framework.

SqlParameter (String, SqlDbType, Int32, ParameterDirection, Byte, Byte, String, DataRowVersion, Boolean, Object, String, String, String) Initializes a new instance of the SqlParameter class that uses the parameter name, the type of the parameter, the length of the parameter the direction, the precision, the scale, the name of the source column, one of the DataRowVersion values, a Boolean for source column mapping, the value of the SqlParameter, the name of the database where the schema collection for this XML instance is located, the owning relational schema where the schema collection for this XML instance is located, and the name of the schema collection for this parameter.

Community Additions

ADD
Show:
© 2014 Microsoft