Interface IDataFieldConverter<TValue>
- Namespace
- FluentCommand
- Assembly
- FluentCommand.dll
Interface defining how to read a field value
public interface IDataFieldConverter<out TValue>
Type Parameters
TValue
The type of the value.
Methods
ReadValue(IDataRecord, int)
Read the value from the specified dataRecord
.
TValue ReadValue(IDataRecord dataRecord, int fieldIndex)
Parameters
dataRecord
IDataRecordThe data record to read the value from.
fieldIndex
intIndex of the field.
Returns
- TValue
The value read from the
dataRecord