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.4.0.0 (5.4.0)
Syntax public static Object ConvertDiscriminatorValueToRealType(
Type discriminatorFieldType,
string valueAsText
)
Public Shared Function ConvertDiscriminatorValueToRealType (
discriminatorFieldType As Type,
valueAsText As String
) As Object
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