sqlite3_errmsg() приватный Метод

private sqlite3_errmsg ( IntPtr db ) : IntPtr
db System.IntPtr
Результат System.IntPtr
Пример #1
0
        // These statics are here for lack of a better place to put them.
        // They exist here because they are called during the finalization of
        // a SqliteStatementHandle, SqliteConnectionHandle, and SqliteFunctionCookieHandle.
        // Therefore these functions have to be static, and have to be low-level.

        internal static string SQLiteLastError(SqliteConnectionHandle db)
        {
#if !SQLITE_STANDARD
            int len;
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_errmsg_interop(db, out len), len));
#else
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_errmsg(db), -1));
#endif
        }
Пример #2
0
        // These statics are here for lack of a better place to put them.
        // They exist here because they are called during the finalization of
        // a SqliteStatementHandle, SqliteConnectionHandle, and SqliteFunctionCookieHandle.
        // Therefore these functions have to be static, and have to be low-level.

        internal static string SQLiteLastError(SqliteConnectionHandle db)
        {
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_errmsg(db), -1));
        }
Пример #3
0
 internal override string SqliteLastError()
 {
     return(ToString(UnsafeNativeMethods.sqlite3_errmsg(_sql)));
 }