You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
608 B
17 lines
608 B
using System.Linq.Expressions;
|
|
namespace SqlSugar
|
|
{
|
|
public class LambdaExpressionResolve : BaseResolve
|
|
{
|
|
public LambdaExpressionResolve(ExpressionParameter parameter) : base(parameter)
|
|
{
|
|
var lambda = base.Expression as LambdaExpression;
|
|
var expression = lambda.Body;
|
|
base.Expression = expression;
|
|
if (parameter.Context.ResolveType.IsIn(ResolveExpressType.FieldMultiple, ResolveExpressType.FieldSingle)) {
|
|
parameter.CommonTempData = CommonTempDataType.Append;
|
|
}
|
|
base.Start();
|
|
}
|
|
}
|
|
}
|