sqlite3_bind_int() private method

private sqlite3_bind_int ( IntPtr stmt, int index, int value ) : int
stmt System.IntPtr
index int
value int
return int
Example #1
0
        internal override void Bind_Int32(SqliteStatement stmt, int index, int value)
        {
            int n = UnsafeNativeMethods.sqlite3_bind_int(stmt._sqlite_stmt, index, value);

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