Beispiel #1
0
 private void TransactionBeginning(object source, Microsoft.VisualStudio.Modeling.TransactionBeginningEventArgs e)
 {
     /*
      * if (e.Transaction.IsSerializing)
      *  return;
      *
      * if (!e.Transaction.IsNested)
      * {
      *  this.Store.SetWritingLockAvailabilityAndWait(false);
      * }
      * else
      *  return;
      *
      * if( this.Store.GetWritingLockState() )
      *  if( ModelData.IsInDebugState )
      *      LogHelper.LogEvent("Waiting on lockstate release");
      *
      * this.Store.WaitForWritingLockRelease();
      */
 }
 public override void TransactionBeginning(Microsoft.VisualStudio.Modeling.TransactionBeginningEventArgs e)
 {
     ORMSolutions.ORMArchitect.Framework.Diagnostics.TraceUtility.TraceRuleStart(e.Transaction.Store, "ORMSolutions.ORMArchitect.Framework.FrameworkDomainModel.TransactionRulesFixupHack");
     this.ProcessTransactionBeginning(e);
     ORMSolutions.ORMArchitect.Framework.Diagnostics.TraceUtility.TraceRuleEnd(e.Transaction.Store, "ORMSolutions.ORMArchitect.Framework.FrameworkDomainModel.TransactionRulesFixupHack");
 }