protected override void Dispose(bool disposing) { if (disposing) { _Context.Dispose(); } }
protected override void DisposeCore() { if (demoContext != null) { demoContext.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public void Dispose() { if (_demoCtx != null) { _demoCtx.Dispose(); } GC.SuppressFinalize(this); }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { _context.Dispose(); } } this.disposed = true; }
public void Dispose() { _context.Dispose(); }
public void Dispose() { Db.Dispose(); GC.SuppressFinalize(this); }
public void Dispose() { _dbContext.Dispose(); GC.SuppressFinalize(this); }