当前位置:编程学习 > C#/ASP.NET >>

动态创建的Lambda不能执行???


这是我动态创建的Lambda表达式。但是执行到这里的时候就会报一个

“在指定的 LINQ to Entities 查询表达式中未绑定参数“o”。”的错误 --------------------编程问答-------------------- linq查询一种是linq的语句,就是你上面这样的,另外一种就是linq方法,也就是你的.Where之类的方法,
但是这里你把另种用法混合到一块了 --------------------编程问答-------------------- http://stackoverflow.com/questions/8289836/the-dreaded-parameter-was-not-bound-in-the-specified-linq-to-entities-query-exp

http://stackoverflow.com/questions/16462692/nesting-predicatebuilder-predicates-the-parameter-f-was-not-bound-in-the-sp

--------------------编程问答-------------------- http://stackoverflow.com/questions/2947820/c-sharp-predicatebuilder-entities-the-parameter-f-was-not-bound-in-the-specif

补充:.NET技术 ,  LINQ
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,