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

            this.disposed = true;
        }
Beispiel #4
0
        public void Dispose()
        {
            _dbContext.Dispose();

            //throw new NotImplementedException();
        }
Beispiel #5
0
 public void Dispose()
 {
     _db.Dispose();
 }