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(); } } }