FastpathCall() public méthode

Send a function call to the PostgreSQL backend.
public FastpathCall ( Int32 fnid, System.Boolean resulttype, NpgsqlTypes.FastpathArg args ) : Object
fnid System.Int32 Function id.
resulttype System.Boolean True if the result is an integer, false for other results.
args NpgsqlTypes.FastpathArg FastpathArguments to pass to fastpath.
Résultat Object
Exemple #1
0
 /// <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;
     }
 }
        /*
         * This deletes a large object.
         *
         * @param oid describing object to delete
         * @exception NpgsqlException on error
         */

        public void Delete(Int32 oid)
        {
            FastpathArg[] args = new FastpathArg[1];
            args[0] = new FastpathArg(oid);
            fp.FastpathCall("lo_unlink", false, args);
        }