protected virtual void Dispose(bool disposing) { if (disposing) { _changeStreamCursor?.Dispose(); _changeStreamCursor = null; GC.Collect(); } }
public void Dispose() { _cursor.Dispose(); }
protected virtual void Dispose(bool disposing) { if (disposing) { _changeStreamCursor?.Dispose(); _changeStreamCursor = null; GC.Collect(); } }
public void Dispose() { _cursor.Dispose(); }