protected override void Dispose(bool disposing)
 {
     _receiveDetailService.Dispose();
     _commodityService.Dispose();
     _commodityGradeService.Dispose();
     _receiveService.Dispose();
     _unitService.Dispose();
     base.Dispose(disposing);
 }
Exemple #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this._disposed)
     {
         if (disposing)
         {
             _commodityService.Dispose();
             _rationService.Dispose();
         }
     }
     this._disposed = true;
 }