DatabaseConfigureParameter Method
| Retired Content |
|---|
|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
protected virtual void ConfigureParameter( DbParameter param, string name, DbType dbType, int size, ParameterDirection direction, bool nullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, Object value )
Parameters
- param
- Type: System.Data.CommonDbParameter
The DbParameter to configure.
- name
- Type: SystemString
The name of the parameter.
- dbType
- Type: System.DataDbType
One of the DbType values.
- size
- Type: SystemInt32
The maximum size of the data within the column.
- direction
- Type: System.DataParameterDirection
One of the ParameterDirection values.
- nullable
- Type: SystemBoolean
Avalue indicating whether the parameter accepts a null reference (Nothing in Visual Basic) (Nothing in Visual Basic) values.
- precision
- Type: SystemByte
The maximum number of digits used to represent the value.
- scale
- Type: SystemByte
The number of decimal places to which value is resolved.
- sourceColumn
- Type: SystemString
The name of the source column mapped to the DataSet and used for loading or returning the value.
- sourceVersion
- Type: System.DataDataRowVersion
One of the DataRowVersion values.
- value
- Type: SystemObject
The value of the parameter.
| Retired Content |
|---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |