DbSpecificCreatorBaseCreateParameterInstance Method (Object, String) |
Creates a new parameter instance. It sets the value but doesn't set the type so the parameter type depends on the value.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax protected DbParameter CreateParameterInstance(
Object valueToSet,
string parameterName = ""
)
Protected Function CreateParameterInstance (
valueToSet As Object,
Optional parameterName As String = ""
) As DbParameter
Parameters
- valueToSet
- Type: SystemObject
The value to set. - parameterName (Optional)
- Type: SystemString
Name of the parameter. By default the empty string, which means it will create a new name
Return Value
Type:
DbParameter
ready to use parameter object
See Also