protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { db.Dispose(); } this.disposed = true; } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { context.Dispose(); } } this.disposed = true; }
public void Dispose(bool disposing) { if (!_disposed) { if (disposing) { _context.Dispose(); } _disposed = true; } }
public void Dispose() { _context.Dispose(); _transaction?.Dispose(); }
public void Dispose() { Database.Dispose(); }
public void Dispose() { _context.Dispose(); }
public void Dispose() { db.Dispose(); }
protected override void Dispose(bool disposing) { _context.Dispose(); }