DBDriverBaseCreateParameter Method (DbCommand, String, DbType, Int32) |
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.3.0.0 (5.3.0)
Syntax public DbParameter CreateParameter(
DbCommand parentCommand,
string parameterName,
DbType parameterType,
int size
)
Public Function CreateParameter (
parentCommand As DbCommand,
parameterName As String,
parameterType As DbType,
size As Integer
) 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.
Return Value
Type:
DbParameterthe parameter created
See Also