Click or drag to resize

CoreUtilsConvertDiscriminatorValueToRealType Method

Convert specified discriminator value to its real type

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static Object ConvertDiscriminatorValueToRealType(
	Type discriminatorFieldType,
	string valueAsText
)

Parameters

discriminatorFieldType
Type: SystemType
Discriminator field type.
valueAsText
Type: SystemString
Text of the value as.

Return Value

Type: Object
the value in its own type or null if the value can't be converted.
See Also