I have a user table that is updated by other systems. I matched the table with my users' objects, and this works great. Since the user data belongs to another system, I do not want to change the structure of this table.
I want to add metadata to user objects, but without changing the structure of the user table. I want to add a flag that tells me whether the user is an administrator or not. I think this flag can be saved in a table that has only one column, which is the user id. whether a suitable string will be present will be presented as a logical property for the user.
Can this be matched in NHibernate? I wish I could update this directly through NHibernate.
source
share