public Status Remove(WriteOptions options, string key) { Status ret = new Status(LeveldbPINVOKE.DBAccessor_Remove(swigCPtr, WriteOptions.getCPtr(options), key), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Status Write(WriteOptions options, DBWriteBatch updates) { Status ret = new Status(LeveldbPINVOKE.DBAccessor_Write(swigCPtr, WriteOptions.getCPtr(options), DBWriteBatch.getCPtr(updates)), true); if (LeveldbPINVOKE.SWIGPendingException.Pending) throw LeveldbPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(WriteOptions obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }