Click or drag to resize

DbSpecificCreatorBaseGetRealValue Method (Object, TypeConverter, Type)

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.4.0.0 (5.4.0)
Syntax
protected virtual Object GetRealValue(
	Object currentValue,
	TypeConverter typeConverterToUse,
	Type actualDotNetType
)

Parameters

currentValue
Type: SystemObject
Current value.
typeConverterToUse
Type: System.ComponentModelTypeConverter
Type converter to use.
actualDotNetType
Type: SystemType
The actual type the value should have

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