예제 #1
0
파일: SQLite3.cs 프로젝트: bdcliang/BD
        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());
            }
        }
예제 #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());
            }
        }