public BTreeIdSystem(LocalObjectContainer container, IStackableIdSystem parentIdSystem , int maxValidId) { _container = container; _parentIdSystem = parentIdSystem; _transactionalIdSystem = container.NewTransactionalIdSystem(null, new _IClosure4_40 (parentIdSystem)); int persistentArrayId = parentIdSystem.ChildId(); if (persistentArrayId == 0) { InitializeNew(); } else { InitializeExisting(persistentArrayId); } _idGenerator = new SequentialIdGenerator(new _IFunction4_52(this), IdGeneratorValue (), _container.Handlers.LowestValidId(), maxValidId); }
public BTreeIdSystem(LocalObjectContainer container, IStackableIdSystem idSystem) : this(container, idSystem, int.MaxValue) { }
public _IClosure4_40(IStackableIdSystem parentIdSystem) { this.parentIdSystem = parentIdSystem; }