In my EF CodeFirst DB, I have two entities:
public class Prod { public int ProductId {get;set;} ...... ...... public ICollection<ProdLang> ProdLangs {get;set;} } public class ProdLang { public int ProdLangId {get;set;} public int LangId {get;set;} public string Name {get;set;} public string Description {get;set;} ...... ...... public Product Product {get;set;} } With Eager Loading, I want to load my collection of Prod ordered by ProdLang.Name or ProdLang.Description for example, by a single Langid
What can I do?
Thanks.