当前上下文中不存在'PredicateBuilder' - 错误 [英] 'PredicateBuilder' does not exist in the current context -- error
本文介绍了当前上下文中不存在'PredicateBuilder' - 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我正在尝试使用PredicateBuilder,但我一直认为'PredicateBuilder'在当前上下文中不存在。
Dear all,
I am trying to use PredicateBuilder, but I keep getting 'PredicateBuilder' does not exist in the current context.
var mainPredicate = PredicateBuilder.True<user_Table>();
我不太确定,我想添加什么,因为它不是库。
请咨询。
提前谢谢。
I am little unsure, what am I suppose to add, as its not library.
Please advice.
Thanks in advance.
推荐答案
你需要获得 PredicateBuilder
帮助器类来自这个网站 - http://www.albahari.com/nutshell/predicatebuilder.aspx [ ^ ]。
You need to get the PredicateBuilder
helper classes from this site - http://www.albahari.com/nutshell/predicatebuilder.aspx[^].
这篇关于当前上下文中不存在'PredicateBuilder' - 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文