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