Method GetEnum
GetEnum<T>(string)
Gets the specified enum value.
public T? GetEnum<T>(string columnName) where T : struct, Enum
Parameters
columnNamestringThe name/label of the column to query.
Returns
- T?
The associated value. null if no value is set.
Type Parameters
T
GetEnum<T>(int)
Gets the specified enum value.
public T? GetEnum<T>(int columnIndex) where T : struct, Enum
Parameters
columnIndexintThe index of the column to query.
Returns
- T?
The associated value. null if no value is set.
Type Parameters
T