ASP.NET MVC Complex View Mapping
问题 I have looked around and found some close answers, but I haven't seen one yet like this: Using Entity Framework I have the following: A Role model: public class Role { [Key] public short RoleId { get; set; } public string RoleName { get; set; } public string RoleDescription { get; set; } } A User model: public class User { public int Id { get; set; } public string Name { get; set; } public string Email { get; set; } public string Username { get; set; } //more fields etc... public virtual