Click or drag to resize

DBDriverBaseCreateParameter Method (DbCommand, String, Object)

Creates a new parameter with the value specified. It's a different implementation as the other overloads: this overload doesn't set the DbType nor the size explicitly. Some providers need that like Sybase.

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public DbParameter CreateParameter(
	DbCommand parentCommand,
	string parameterName,
	Object value
)

Parameters

parentCommand
Type: System.Data.CommonDbCommand
The parent command.
parameterName
Type: SystemString
Name of the parameter.
value
Type: SystemObject
The value.

Return Value

Type: DbParameter
the parameter created
See Also