Click or drag to resize

DbSpecificCreatorBaseGetRealValue Method (Object, TypeConverter, Type, Boolean)

Gets the real value, by converting the passed in value, if necessary

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected virtual Object GetRealValue(
	Object currentValue,
	TypeConverter typeConverterToUse,
	Type actualDotNetType,
	bool targetIsEnumtyped
)

Parameters

currentValue
Type: SystemObject
Current value.
typeConverterToUse
Type: System.ComponentModelTypeConverter
Type converter to use.
actualDotNetType
Type: SystemType
The actual type the value should have
targetIsEnumtyped
Type: SystemBoolean
if set to true, the currentValue is assumed to be an enum typed value.

Return Value

Type: Object
the currentValue converted by the typeConverterToUse, or if it's an enum value and no typeConverter is specified, to actualDotNetType
See Also