public File(int id, FileStream stream) { Id = id; Root = new PagePosition(id, 0); Latch = new LatchEntry(this); Stream = stream ?? throw new ArgumentNullException(nameof(stream)); }
public BufferEntry(BufferState state, PagePosition pos) { State = state; Latch = new LatchEntry(this, LockRecursionPolicy.SupportsRecursion); Position = pos; }
public BufferEntry(BufferState state) { State = state; Latch = new LatchEntry(this); }