Method AsObject
AsObject<T>(IRecord)
Converts the record to an object of the given type according to the global mapping configuration.
public static T AsObject<T>(this IRecord record)
Parameters
record
IRecordThe record to convert.
Returns
- T
The mapped object.
Type Parameters
T
The type to map to.
- See Also
AsObject(IRecord, Type)
Converts the record to an object of the given type according to the global mapping configuration.
public static object AsObject(this IRecord record, Type objectType)
Parameters
Returns
- object
The mapped object.
- See Also