protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
 public virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             DocumentDB.Dispose();
         }
     }
     this.disposed = true;
 }
Exemple #3
0
 public virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             db.Dispose();
         }
         this.disposed = true;
     }
 }
Exemple #4
0
 protected override void Dispose(bool disposing)
 {
     _context.Dispose();
     base.Dispose(disposing);
 }