public partial class User { public int Id { get; set; } public string Name { get; set; } public Nullable<int> GenderID { get; set; } public virtual Gender Gender { get; set; } }
public partial class Gender { public Gender() { this.GenderTranslates = new HashSet<GenderTranslate>(); this.Users = new HashSet<User>(); } public int Id { get; set; } public string Icon { get; set; } public string Value { get; set; } public virtual ICollection<GenderTranslate> GenderTranslates { get; set; } public virtual ICollection<User> Users { get; set; } }
public partial class Lang { public Lang() { this.GenderTranslates = new HashSet<GenderTranslate>(); } public int Id { get; set; } public string Name { get; set; } public virtual ICollection<GenderTranslate> GenderTranslates { get; set; } }
public partial class GenderTranslate { public int LangID { get; set; } public int GenderID { get; set; } public string Desc { get; set; } public virtual Gender Gender { get; set; } public virtual Lang Lang { get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)