I have 3 tables Users, AccessLevels, Roles. My User class have public virtual Dictionary<Role,AccessLevel> Roles {get; set;}, and
Role class have public virtual Dictionary<User,AccessLevel> Users {get;set;} ? How such dictionaries should be represented in the mapping?
I have 3 tables Users, AccessLevels, Roles. My User class have public virtual Dictionary<Role,AccessLevel>
Share
in FluentNhibernate it would look like
can’t test it right now though
Update: in hbm.xml