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

Parameters

parentCommand
Type: System.Data.Common.DbCommand
The parent command.
parameterName
Type: System.String
Name of the parameter.
value
Type: System.Object
The value.

Return Value

Type: DbParameter
the parameter created
See Also