| Devart.Common Namespace > DbParameterBase Class : Value Property (DbParameterBase) |
Gets or sets the value of the parameter.
[Visual Basic]
Overrides Public Property Value As Object [C#]
public override object Value {get; set;}An
For input parameters, the value is bound to the DbCommand that is sent to the server. For output and return-value parameters, the value is set on completion of the DbCommand and after the DbDataReader is closed.
When sending a null parameter value to the server, the user must specify
If the application specifies the database type, the bound value is converted to that type when the provider sends the data to the server. The provider attempts to convert any type of value if it supports the IConvertible interface. Conversion errors may result if the specified type is not compatible with the value.
The DbType property can be inferred by setting Value. If applicable, the size, precision, and scale will also be inferred from Value.
The Value property is overwritten by the
DbParameterBase Class | DbParameterBase Members
© 2002 - 2013 Devart. All Rights Reserved.