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

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
Результат int
Пример #1
0
        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());
            }
        }