I have a view that aligns a hierarchy of 4 tables to display as a report. in the view, it contains the primary keys (Guid) of each table along with some displayed data.
The problem is that as returned characters it returns as varbinary (16) instead of binary (16), and as a result, nhibernate throws an error. It seems to me that this is one and the same, but maybe I'm missing something.
The manual should contain 32 digits with four dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
I tried to add Respect Binary Flags = true; to the configuration line, everything that seems to affect whether regular classes work or not.
This one annoys me. I am going to return primary keys to integers as a last resort.
source share