public override void OnPreCreateIndex(Net.Vpc.Upa.Callbacks.IndexEvent @event) { if ([email protected]().IsValidStructureModificationContext()) { throw new Net.Vpc.Upa.Exceptions.InvalidStructureModificationContextException(); } }
public virtual void OnPreDropIndex(Net.Vpc.Upa.Callbacks.IndexEvent @event) { }
public virtual void OnCreateIndex(Net.Vpc.Upa.Callbacks.IndexEvent @event) { }
public override void OnCreateIndex(Net.Vpc.Upa.Callbacks.IndexEvent @event) { Net.Vpc.Upa.Impl.DefaultPersistenceUnit defaultPersistenceUnit = (Net.Vpc.Upa.Impl.DefaultPersistenceUnit)@event.GetPersistenceUnit(); defaultPersistenceUnit.PostponeCommit(new Net.Vpc.Upa.Impl.Persistence.DefaultOnHoldCommitAction(@event.GetIndex(), Net.Vpc.Upa.Impl.OnHoldCommitActionType.CREATE, Net.Vpc.Upa.Impl.DefaultPersistenceUnit.COMMIT_ORDER_INDEX)); }