I think I probably expressed my opinion in the comments ... but since you asked for "Any Thoughts" ... here ya go:
Obviously, two seconds hack work, but you get the idea:
( IDisposable ( , IDataReader - ?) .. , IDataReader . -, .
public class DataReaderWithEOF
{
public bool EOF { public get; private set; }
private IDataReader reader;
public DataReaderWithEOF(IDataReader reader)
{
this.reader = reader;
}
public bool Read()
{
bool result = reader.Read();
this.EOF = !result;
return result;
}
}