我可以创建一个select查询,只检索LINQ to实体的特定列(代码中是静态的)
from Example in new Enities.Table select new { Example.Column1. Example.Column2, ... }
但我无法弄清楚如何选择Column1,Column2动态(例如来自string []).谢谢
select linq-to-entities entity-framework dynamic
dynamic ×1
entity-framework ×1
linq-to-entities ×1
select ×1