Пример #1
0
 private void Dispose(bool disposing)
 {
     if (!_disposed)
     {
         if (disposing)
         {
             if (_commonFacade != null)
             {
                 _commonFacade.Dispose();
             }
         }
     }
     _disposed = true;
 }
Пример #2
0
 private void Dispose(bool disposing)
 {
     if (!this._disposed)
     {
         if (disposing)
         {
             if (_context != null)
             {
                 _context.Dispose();
             }
             if (_commonFacade != null)
             {
                 _commonFacade.Dispose();
             }
         }
     }
     this._disposed = true;
 }