public partial class Role { public Role() { this.Users = new HashSet<User>(); } public int RoleID { get; set; } public string RoleTitle { get; set; } public string RoleInsystem { get; set; } public virtual ICollection<User> Users { get; set; } }
public partial class User { public int UserID { get; set; } public int RoleID { get; set; } public string Username { get; set; } public string Password { get; set; } public virtual Role Role { get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)