Esempio n. 1
0
File: Db1.cs Progetto: mchuang/PUB
            public DataBlock(ParadoxFile file, BinaryReader r)
            {
                this.file = file;
                this.nextBlock = r.ReadUInt16();
                this.blockNumber = r.ReadUInt16();
                this.addDataSize = r.ReadInt16();

                this.RecordCount = (addDataSize / file.RecordSize) + 1;
                this.data = r.ReadBytes(this.RecordCount * file.RecordSize);
                this.recCache = new ParadoxRecord[this.data.Length];
            }
Esempio n. 2
0
File: Db1.cs Progetto: mchuang/PUB
 internal ParadoxRecord(ParadoxFile.DataBlock block, int recIndex)
 {
     this.block = block;
     this.recIndex = recIndex;
 }
Esempio n. 3
0
File: Impl1.cs Progetto: mchuang/PUB
 public ParadoxDataReader(ParadoxFile file, IEnumerable<ParadoxRecord> query)
 {
     this.File = file;
     this.enumerator = query.GetEnumerator();
 }