Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (_disposed)
     {
         return;
     }
     if (disposing)
     {
         if (db != null)
         {
             db.Dispose();
         }
     }
     db        = null;
     _disposed = true;
 }
Beispiel #2
0
 public ContractsManager()
 {
     db        = new ContractsRepository();
     _disposed = false;
 }