Code optimization

This commit is contained in:
sunkaixuan 2022-11-26 14:36:02 +08:00
parent 1a7d859eb7
commit af41e54f95
3 changed files with 22 additions and 13 deletions

View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class MapperSql
{
public string Sql { get; set; }
}
public class MapperExpressionInfo
{
public Type Type { get; set; }
public EntityInfo EntityInfo { get; set; }
public string FieldName { get; set; }
public string FieldString { get; set; }
}
}

View File

@ -325,17 +325,4 @@ namespace SqlSugar
Check.Exception(isError, ErrorMessage.GetThrowMessage(expression.ToString() + "no support", "不支持表达式" + expression.ToString() + " ,查看导航是否配置正确等 "));
}
}
public class MapperSql
{
public string Sql { get; set; }
}
public class MapperExpressionInfo
{
public Type Type { get; set; }
public EntityInfo EntityInfo { get; set; }
public string FieldName { get; set; }
public string FieldString { get; set; }
}
}

View File

@ -133,6 +133,7 @@
<Compile Include="Entities\DbFastestProperties.cs" />
<Compile Include="Entities\DeleteNavOptions.cs" />
<Compile Include="Entities\JoinInfoParameter.cs" />
<Compile Include="ExpressionsToSql\Common\MapperSql.cs" />
<Compile Include="ExpressionsToSql\Common\NewExpressionInfo.cs" />
<Compile Include="ExpressionsToSql\ResolveItems\BaseResolve_Helper.cs" />
<Compile Include="ExpressionsToSql\ResolveItems\BaseResolve_Validate.cs" />