Ejemplo n.º 1
0
Archivo: Db1.cs Proyecto: 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];
            }
Ejemplo n.º 2
0
Archivo: Db1.cs Proyecto: mchuang/PUB
 internal ParadoxRecord(ParadoxFile.DataBlock block, int recIndex)
 {
     this.block = block;
     this.recIndex = recIndex;
 }
Ejemplo n.º 3
0
Archivo: Impl1.cs Proyecto: mchuang/PUB
 public ParadoxDataReader(ParadoxFile file, IEnumerable<ParadoxRecord> query)
 {
     this.File = file;
     this.enumerator = query.GetEnumerator();
 }