相关疑难解决方法(0)

实体框架离开了加入

如何更改此查询以便返回所有u.usergroups?

from u in usergroups
from p in u.UsergroupPrices
select new UsergroupPricesList
{
UsergroupID = u.UsergroupID,
UsergroupName = u.UsergroupName,
Price = p.Price
};
Run Code Online (Sandbox Code Playgroud)

c# linq linq-to-entities entity-framework left-join

73
推荐指数
4
解决办法
12万
查看次数

标签 统计

c# ×1

entity-framework ×1

left-join ×1

linq ×1

linq-to-entities ×1