Example #1
0
        internal override void Bind_Blob(SQLiteStatement stmt, int index, byte[] blobData)
        {
            int errorCode = UnsafeNativeMethods.sqlite3_bind_blob((IntPtr)stmt._sqlite_stmt, index, blobData, blobData.Length, (IntPtr)(-1));

            if (errorCode > 0)
            {
                throw new SQLiteException(errorCode, this.SQLiteLastError());
            }
        }