protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
private void Dispose(bool disposing) { if (!disposing) { return; } if (_context == null) { return; } _context.Dispose(); _context = null; }
public void Dispose() { _ctxDB?.Dispose(); }
public void Dispose() { _context.Dispose(); }
public void Dispose() { Db?.Dispose(); }