/// <summary> /// This method closes the object. You must not call methods in this /// object after this is called. /// </summary> public void Close() { if (!closed) { // finally close FastpathArg[] args = new FastpathArg[1]; args[0] = new FastpathArg(fd); fp.FastpathCall("lo_close", false, args); // true here as we dont care!! closed = true; } }
/// <summary> /// This deletes a large object. /// </summary> /// <param name="oid">OID describing object to delete.</param> public void Delete(Int32 oid) { FastpathArg[] args = new FastpathArg[1]; args[0] = new FastpathArg(oid); fp.FastpathCall("lo_unlink", false, args); }