Exemplo n.º 1
0
        internal int associate_foreign(DB dbp, BDB_AssociateForeignDelegate callback, uint flags)
        {
            int ret;

            ret = libdb_csharpPINVOKE.DB_associate_foreign(swigCPtr, DB.getCPtr(dbp), callback, flags);
            DatabaseException.ThrowException(ret);
            return(ret);
        }
Exemplo n.º 2
0
        internal int associate(DB_TXN txn, DB sec, BDB_AssociateDelegate callback, uint flags)
        {
            int ret;

            ret = libdb_csharpPINVOKE.DB_associate(swigCPtr, DB_TXN.getCPtr(txn), DB.getCPtr(sec), callback, flags);
            DatabaseException.ThrowException(ret);
            return(ret);
        }
Exemplo n.º 3
0
 internal DB_SEQUENCE(DB dbp, uint flags) : this(libdb_csharpPINVOKE.new_DB_SEQUENCE(DB.getCPtr(dbp), flags), true)
 {
 }