DbParameter Properties
.NET Framework 4
The DbParameter type exposes the following members.
| Name | Description | |
|---|---|---|
|
DbType | Gets or sets the DbType of the parameter. |
|
Direction | Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter. |
|
IsNullable | Gets or sets a value that indicates whether the parameter accepts null values. |
|
ParameterName | Gets or sets the name of the DbParameter. |
|
Size | Gets or sets the maximum size, in bytes, of the data within the column. |
|
SourceColumn | Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value. |
|
SourceColumnNullMapping | Sets or gets a value which indicates whether the source column is nullable. This allows DbCommandBuilder to correctly generate Update statements for nullable columns. |
|
SourceVersion | Gets or sets the DataRowVersion to use when you load Value. |
|
Value | Gets or sets the value of the parameter. |
| Name | Description | |
|---|---|---|
|
IDbDataParameter.Precision | Indicates the precision of numeric parameters. |
|
IDbDataParameter.Scale | For a description of this member, see IDbDataParameter.Scale. |