Click or drag to resize

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.10.0.0 (5.10.0)
Syntax
protected DbParameter CreateParameterInstance(
	Object valueToSet,
	string parameterName = ""
)

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