Blog
Public Properties of DbParameterBase Class Members
In this blog I have discussed the public properties of DbParameterBase Class Members are SourceVersion, Direction, ParameterName, Size etc.
DbParameterBase
Class indicates a parameter to a DbCommand and its mapping to columns of DataSet
optionally. The public properties of DbParameterBase Class members are as
follows:
DbType: It obtains or specify the Parameter's DbType. Its base class is System.Data.Common.DbParameter.
Direction: It can be overriden. It obtains or specify value that shows the
type of parameter which can be input-only, output-only, or bidirectional
parameter.
ParameterName: It can be overridden. It obtains or specify the name of the
DbParameterBase.
Size: You can override it. It obtains or specify the maximum size in the
form of bytes of the data in the column.
IsNullable: You can override it. It obtains or specify a value that shows
whether the parameter can take null values.
SourceVersion: It can be overridden. It obtains or specify a DataRowVersion
to use at the time of loading a Value.
SourceColumnNullMapping: It can be overridden. It specify or obtain a value
which shows whether the source column is nullable.
SourceColumn: It can be overridden. It obtains or specify the name of the
source column that is mapped to the DataSet and used for loading or outputting
the Value.
Value: It can be overridden. It obtains or specify the parameter's value.