Click or drag to resize

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.10.0.0 (5.10.0)
Syntax
public DbParameter CreateParameter(
	DbCommand parentCommand,
	string parameterName,
	DbType parameterType,
	int size
)

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