public static Expression <Func <TEntity, bool> > ToExpression <TEntity>(this FilterRule rule) { return(FilterHelper.GetExpression <TEntity>(rule)); }
/// <summary> /// 初始化一个<see cref="FilterGroup"/>类型的新实例 /// </summary> /// <param name="operateCode">条件间操作方式的前台码</param> public FilterGroup(string operateCode) : this(FilterHelper.GetFilterOperate(operateCode)) { }
public static Expression <Func <TEntity, bool> > ToExpression <TEntity>(this FilterGroup group) { return(FilterHelper.GetExpression <TEntity>(group)); }