Esempio n. 1
0
 void IEditableObject.EndEdit()
 {
     try
     {
         if (inTxn)
         {
             _loadedApplication = this.Application;
             _loadedMain        = this.Main;
             _loadedCosting     = this.Costing;
             _loadedVehicle     = this.Vehicle;
             _loadedMaterial    = this.Material;
             _loadedPlanning    = this.Planning;
             inTxn = false;
         }
     }
     catch (Exception exception1)
     {
         Exception innerException = exception1;
         throw new Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
 }
Esempio n. 2
0
 void IEditableObject.EndEdit()
 {
     try
     {
         if (inTxn)
         {
             _loadedApplication = this.Application;
             _loadedMain = this.Main;
             _loadedCosting = this.Costing;
             _loadedVehicle = this.Vehicle;
             _loadedMaterial = this.Material;
             _loadedPlanning = this.Planning;
             inTxn = false;
         }
     }
     catch (Exception exception1)
     {
         Exception innerException = exception1;
         throw new Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
 }