protected virtual void Dispose(bool disposing) { if (_disposed) { return; } try { if (disposing) { _context?.Dispose(); } } finally { _disposed = true; } }
public void Dispose() { _context?.Dispose(); }
public void Dispose() { context.Dispose(); }