Click or drag to resize
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.3.0.0 (5.3.0)
Syntax
public virtual DbParameter CreateParameter(
	DbCommand parentCommand,
	string parameterName,
	DbType parameterType,
	int size,
	Object value
)

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: DbParameter
the parameter created
See Also