i has a function
public Menu Details(int? id) { return _dataContext.Menu.Include("ChildMenu").FirstOrDefault(m => m.MenuId == id); }
Now I need to add a condition to the ChildMenu child list, for example fieldname = id. How can i do this?
source share