DBDriverBaseCreateParameter Method (DbCommand, String, DbType, Int32, Object) |
Creates a new parameter with the values specified and adds it to the parameter collection of the command specified
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax public virtual DbParameter CreateParameter(
DbCommand parentCommand,
string parameterName,
DbType parameterType,
int size,
Object value
)
Public Overridable Function CreateParameter (
parentCommand As DbCommand,
parameterName As String,
parameterType As DbType,
size As Integer,
value As Object
) As DbParameter
Parameters
- parentCommand
- Type: System.Data.CommonDbCommand
The parent command. - parameterName
- Type: SystemString
Name of the parameter. - parameterType
- Type: System.DataDbType
Type of the parameter. - size
- Type: SystemInt32
The size of the parameter (if applicable. - value
- Type: SystemObject
The value.
Return Value
Type:
DbParameterthe parameter created
See Also