sqlsugar/Src/Asp.NetCore2/SqlSugar/ExpressionsToSql/Common/MethodCallExpressionModel.cs

28 lines
831 B
C#
Raw Permalink Normal View History

2025-05-11 16:20:50 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Linq.Expressions;
namespace SqlSugar
{
public class MethodCallExpressionModel
{
public List<MethodCallExpressionArgs> Args { get; set; }
public string Name { get; set; }
public dynamic Data { get; set; }
public Expression Expression { get; set; }
public Expression BaseExpression { get; set; }
public List<SugarParameter> Parameters { get; set; }
public ExpressionContext Conext { get; set; }
}
public class MethodCallExpressionArgs
{
public bool IsMember { get; set; }
public object MemberName { get; set; }
public object MemberValue { get; set; }
public Type Type { get; set; }
}
}