Export (0) Print
Expand All

SqlParameter Constructor

Initializes a new instance of the SqlParameter class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework SqlParameter() Initializes a new instance of the SqlParameter class.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Top

Community Additions

ADD
Show:
© 2014 Microsoft