/// <summary> /// 获取查询条件 /// </summary> /// <returns></returns> public Expression <Func <TEntity, bool> > GetPredicate() { Adjust(_min, _max); CreateLeftExpression(); CreateRightExpression(); return(_builder.ToLambda()); }
/// <summary> /// 获取查询条件 /// </summary> public Expression <Func <TEntity, bool> > GetCondition() { _builder.Clear(); Adjust(_min, _max); CreateLeftExpression(); CreateRightExpression(); return(_builder.ToLambda()); }