Exemple #1
0
 /// <summary>
 /// 获取最大值表达式
 /// </summary>
 protected override Expression GetMaxValueExpression() => ValueExpressionHelper.CreateDateTimeExpression(GetMaxValue(), GetPropertyType());
 /// <summary>
 /// 获取最小值表达式
 /// </summary>
 protected override Expression GetMinValueExpression() => ValueExpressionHelper.CreateDateTimeExpression(GetMinValue().SafeValue().Date, GetPropertyType());
 /// <summary>
 /// 获取最大值表达式
 /// </summary>
 protected override Expression GetMaxValueExpression() => ValueExpressionHelper.CreateDateTimeExpression(GetMaxValue().SafeValue().Date.AddDays(1), GetPropertyType());
 /// <summary>
 /// 获取最小值表达式
 /// </summary>
 protected override Expression GetMinValueExpression()
 {
     return(ValueExpressionHelper.CreateDateTimeExpression(GetMinValue(), GetPropertyType()));
 }