Interface IMergeDataReader
A forward-only cursor over merge records.
public interface IMergeDataReader
Remarks
Deliberately shaped like IDataReader without being it. DocWright takes no dependency
on System.Data — not in this package and not anywhere it could pull one into core —
so a host that wants to merge from a DataTable or a DbDataReader writes the
four-member adapter in their assembly, where the reference already exists. That
adapter is a dozen lines; the alternative is a framework dependency in every consumer.
Forward-only is the point, not a limitation: a merge walks records once, so a 10,000-record source never has to be materialized.
Properties
- FieldCount
Gets the number of fields each record carries.
Methods
- GetFieldName(int)
Gets a field's name.
- GetValue(int)
Gets a field's value in the current record.
- Read()
Advances to the next record.