public DbfRecord ReadRecord() { var dbfRecord = new DbfRecord(this); dbfRecord.Read(BinaryReader); return(dbfRecord); }
public override void Close() { try { DbfTable?.Close(); } finally { DbfTable = null; DbfRecord = null; } }
public DbfDataReader(string path) { DbfTable = new DbfTable(path); DbfRecord = new DbfRecord(DbfTable); }
public override string GetString(int ordinal) { return(DbfRecord.GetValue <string>(ordinal)); }
public override object GetValue(int ordinal) { return(DbfRecord.GetValue(ordinal)); }
public DbfDataReader(string path, Encoding encoding) { DbfTable = new DbfTable(path, encoding); DbfRecord = new DbfRecord(DbfTable); }
public bool Read(DbfRecord dbfRecord) { return(dbfRecord.Read(BinaryReader)); }
public DbfDataReader(Stream stream, Stream memoStream, DbfDataReaderOptions options) { _options = options; DbfTable = new DbfTable(stream, memoStream, options.Encoding); DbfRecord = new DbfRecord(DbfTable); }
public DbfDataReader(string path, DbfDataReaderOptions options) { _options = options; DbfTable = new DbfTable(path, options.Encoding); DbfRecord = new DbfRecord(DbfTable); }
public DbfDataReader(string path) { DbfTable = new DbfTable(path); DbfRecord = new DbfRecord(DbfTable, new DbfDataReaderOptions()); }
public DbfDataReader(string path, Encoding encoding, DbfDataReaderOptions options) { DbfTable = new DbfTable(path, encoding); DbfRecord = new DbfRecord(DbfTable, options); }
public bool Read(DbfRecord dbfRecord) { return(dbfRecord.Read(Stream)); }
public DbfRecord ReadRecord() { var dbfRecord = new DbfRecord(this); return(!dbfRecord.Read(Stream) ? null : dbfRecord); }