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.11.0.0 (5.11.23.1114)
Syntax protected virtual Object GetRealValue(
Object currentValue,
TypeConverter typeConverterToUse,
Type actualDotNetType,
bool targetIsEnumtyped
)
Protected Overridable Function GetRealValue (
currentValue As Object,
typeConverterToUse As TypeConverter,
actualDotNetType As Type,
targetIsEnumtyped As Boolean
) As Object
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