Esempio n. 1
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            RowAVLDisk disk = obj as RowAVLDisk;

            return((disk != null) && (disk.Position == base.Position));
        }
Esempio n. 2
0
        public override void Delete(IPersistentStore store)
        {
            RowAVLDisk disk = this;

            if (!disk.KeepInMemory(true))
            {
                disk = (RowAVLDisk)store.Get(disk, true);
            }
            base.Delete(store);
            disk.KeepInMemory(false);
        }