小编maj*_*jor的帖子

如何将实体框架查询结果放入List中

如何将以下查询结果放入List中

var  result = from c in sb.Swithches_SW_PanalComponents
                     select new { c.ID,c.SW_PanalComponents.ComponentsName,c.ComponentValue };
Run Code Online (Sandbox Code Playgroud)

c# entity-framework c#-4.0

3
推荐指数
2
解决办法
3万
查看次数

标签 统计

c# ×1

c#-4.0 ×1

entity-framework ×1