好的,我有这个课程:
public class Person
{
public int Id { get; set; }
public string SpecialNumber { get; set; }
public IQueryable<Game> Games { get; set; }
}
这些课程:
public class Game
{
public int Id { get; set; }
public string Name { get; set; }
public decimal? RamNeeded { get; set; }
public Town Town { get; set; }
}
public class Town
{
public int Id { get; set; }
public string TownName { get; set; }
public string CountryName { get; set; }
public string StateName { get; set; }
}
我需要显示SpecialNumber
的{{1}},其 总和 的游戏&#39; Person
是最棒的,来自人(RamNeeded
),他们有游戏:
我需要在LINQ或SQL上进行此查询。希望你能帮忙。