User has roles for systems - how to (object-)model ternary relation?
问题 I've got the following Entities: Privilege ( Id, Name ) Role ( Id, Name, ICollection<Privilege> ) System ( Id, Name ) User ( Id, Name, Pass, ? ) Now I want to model "A user may have for each of zero or more systems zero or more roles", e.g.: IDictionary<System, ICollection<Role>> SystemRoles { get; set; } Is this possible with ASP.NET EntityFramework? If yes, how? What attributes do I have to set? Been looking around for quite some time now, however I don't find anything useful on the net for