public override void OnPreCreateEntity(Net.Vpc.Upa.Callbacks.EntityEvent @event)
 {
     if ([email protected]().IsValidStructureModificationContext())
     {
         throw new Net.Vpc.Upa.Exceptions.InvalidStructureModificationContextException();
     }
 }
 public override void OnCreateEntity(Net.Vpc.Upa.Callbacks.EntityEvent @event)
 {
     Net.Vpc.Upa.Impl.DefaultPersistenceUnit defaultPersistenceUnit = (Net.Vpc.Upa.Impl.DefaultPersistenceUnit)@event.GetPersistenceUnit();
     defaultPersistenceUnit.PostponeCommit(new Net.Vpc.Upa.Impl.Persistence.DefaultOnHoldCommitAction(@event.GetEntity(), Net.Vpc.Upa.Impl.OnHoldCommitActionType.CREATE, Net.Vpc.Upa.Impl.DefaultPersistenceUnit.COMMIT_ORDER_ENTITY));
 }