sqlite3_bind_blob() private method

private sqlite3_bind_blob ( IntPtr stmt, int index, Byte value, int nSize, IntPtr nTransient ) : int
stmt System.IntPtr
index int
value Byte
nSize int
nTransient System.IntPtr
return int
コード例 #1
0
ファイル: SQLite3.cs プロジェクト: wuhuolong/MaxBooks
        internal override void Bind_Blob(SqliteStatement stmt, int index, byte[] blobData)
        {
            int n = UnsafeNativeMethods.sqlite3_bind_blob(stmt._sqlite_stmt, index, blobData, blobData.Length, (IntPtr)(-1));

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