/// <summary> /// Return a handle to the current DB state. /// Iterators and Gets created with this handle will all observe a stable snapshot of the current DB state. /// </summary> public SnapShot CreateSnapshot() { var result = new SnapShot(LevelDBInterop.leveldb_create_snapshot(this.Handle), this); GC.KeepAlive(this); return(result); }
/// <summary> /// Return a handle to the current DB state. /// Iterators and Gets created with this handle will all observe a stable snapshot of the current DB state. /// </summary> public SnapShot CreateSnapshot() { return(new SnapShot(LevelDBInterop.leveldb_create_snapshot(this.Handle), this)); }