static internal extern int OCIStmtFetch
 (
     HandleRef stmtp,
     HandleRef errhp,
     int nrows,
     OCI.FETCH orientation,
     OCI.MODE mode
 );
Esempio n. 2
0
        internal static int OCIStmtFetch(OciHandle stmtp, OciHandle errhp, int nrows, OCI.FETCH orientation, OCI.MODE mode)
        {
            if (Bid.AdvancedOn)
            {
                Bid.Trace("<oc.OCIStmtFetch|ADV|OCI>            stmtp=0x%-07Ix errhp=0x%-07Ix nrows=%d orientation=%d{OCI.FETCH}, mode=0x%x{OCI.MODE}\n", stmtp, errhp, nrows, (int)orientation, (int)mode);
            }
            int num = System.Data.Common.UnsafeNativeMethods.OCIStmtFetch(stmtp, errhp, (uint)nrows, orientation, mode);

            if (Bid.AdvancedOn)
            {
                Bid.Trace("<oc.OCIStmtFetch|ADV|OCI|RET>        rc=%d\n", num);
            }
            return(num);
        }
Esempio n. 3
0
 internal static extern int OCIStmtFetch(OciHandle stmtp, OciHandle errhp, uint nrows, [In, MarshalAs(UnmanagedType.U2)] OCI.FETCH orientation, [In, MarshalAs(UnmanagedType.U4)] OCI.MODE mode);