Exemple #1
0
        internal override void Bind_Null(SQLiteStatement stmt, int index)
        {
            int errorCode = UnsafeNativeMethods.sqlite3_bind_null((IntPtr)stmt._sqlite_stmt, index);

            if (errorCode > 0)
            {
                throw new SQLiteException(errorCode, this.SQLiteLastError());
            }
        }
Exemple #2
0
        internal override void Bind_Null(SQLiteStatement stmt, int index)
        {
            int n = UnsafeNativeMethods.sqlite3_bind_null(stmt._sqlite_stmt, index);

            if (n > 0)
            {
                throw new SQLiteException(n, SQLiteLastError());
            }
        }