internal ODBC32.RetCode ColumnAttribute(int columnNumber, short fieldIdentifier, CNativeBuffer characterAttribute, out short stringLength, out SQLLEN numericAttribute)
 {
     IntPtr ptr;
     ODBC32.RetCode retcode = UnsafeNativeMethods.SQLColAttributeW(this, (short) columnNumber, fieldIdentifier, characterAttribute, characterAttribute.ShortLength, out stringLength, out ptr);
     numericAttribute = new SQLLEN(ptr);
     ODBC.TraceODBC(3, "SQLColAttributeW", retcode);
     return retcode;
 }
예제 #2
0
        internal ODBC32.RetCode RowCount(out SQLLEN rowCount)
        {
            IntPtr result;

            ODBC32.RetCode retcode = Interop.Odbc.SQLRowCount(this, out result);
            rowCount = new SQLLEN(result);
            ODBC.TraceODBC(3, "SQLRowCount", retcode);
            return(retcode);
        }
예제 #3
0
        internal ODBC32.RetCode ColumnAttribute(int columnNumber, short fieldIdentifier, CNativeBuffer characterAttribute, out short stringLength, out SQLLEN numericAttribute)
        {
            IntPtr result;

            ODBC32.RetCode retcode = Interop.Odbc.SQLColAttributeW(this, checked ((short)columnNumber), fieldIdentifier, characterAttribute, characterAttribute.ShortLength, out stringLength, out result);
            numericAttribute = new SQLLEN(result);
            ODBC.TraceODBC(3, "SQLColAttributeW", retcode);
            return(retcode);
        }
예제 #4
0
        internal ODBC32.RetCode RowCount(out SQLLEN rowCount)
        {
            IntPtr result;

            ODBC32.RetCode retcode = UnsafeNativeMethods.SQLRowCount(this, out result);
            rowCount = new SQLLEN(result);
            ODBC.TraceODBC(3, "SQLRowCount", retcode);
            return(retcode);
        }
        internal ODBC32.RetCode ColumnAttribute(int columnNumber, short fieldIdentifier, CNativeBuffer characterAttribute, out short stringLength, out SQLLEN numericAttribute)
        {
            IntPtr ptr;

            ODBC32.RetCode retcode = UnsafeNativeMethods.SQLColAttributeW(this, (short)columnNumber, fieldIdentifier, characterAttribute, characterAttribute.ShortLength, out stringLength, out ptr);
            numericAttribute = new SQLLEN(ptr);
            ODBC.TraceODBC(3, "SQLColAttributeW", retcode);
            return(retcode);
        }
예제 #6
0
 internal ODBC32.RetCode RowCount(out SQLLEN rowCount) {
     IntPtr result;
     ODBC32.RetCode retcode = UnsafeNativeMethods.SQLRowCount(this, out result);
     rowCount = new SQLLEN(result);
     ODBC.TraceODBC(3, "SQLRowCount", retcode);
     return retcode;
 }