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.6.0.0 (5.6.19.0117)
Syntax public DbParameter CreateParameter(
DbCommand parentCommand,
string parameterName,
Object value
)
Public Function CreateParameter (
parentCommand As DbCommand,
parameterName As String,
value As Object
) As DbParameter
Parameters
- parentCommand
- Type: System.Data.CommonDbCommand
The parent command. - parameterName
- Type: SystemString
Name of the parameter. - value
- Type: SystemObject
The value.
Return Value
Type:
DbParameterthe parameter created
See Also