ProjectionRowGetNullableEnumValueTEnum Method |
Gets the enum value of the specified field or null if the value is DBNull
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public Nullable<TEnum> GetNullableEnumValue<TEnum>(
int i
)
where TEnum : struct, new()
Public Function GetNullableEnumValue(Of TEnum As {Structure, New}) (
i As Integer
) As Nullable(Of TEnum)
Parameters
- i
- Type: SystemInt32
The index of the field to find.
Type Parameters
- TEnum
- The type of the enum.
Return Value
Type:
NullableTEnumSee Also