Table of Contents

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 IDataRecord

The data record to read the value from.

fieldIndex int

Index of the field.

Returns

TValue

The value read from the dataRecord