mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-11 16:18:01 +08:00
Code optimization
This commit is contained in:
parent
1a7d859eb7
commit
af41e54f95
21
Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/MapperSql.cs
Normal file
21
Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/MapperSql.cs
Normal 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; }
|
||||||
|
}
|
||||||
|
}
|
@ -325,17 +325,4 @@ namespace SqlSugar
|
|||||||
Check.Exception(isError, ErrorMessage.GetThrowMessage(expression.ToString() + "no support", "不支持表达式" + expression.ToString() + " ,查看导航是否配置正确等 "));
|
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; }
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -133,6 +133,7 @@
|
|||||||
<Compile Include="Entities\DbFastestProperties.cs" />
|
<Compile Include="Entities\DbFastestProperties.cs" />
|
||||||
<Compile Include="Entities\DeleteNavOptions.cs" />
|
<Compile Include="Entities\DeleteNavOptions.cs" />
|
||||||
<Compile Include="Entities\JoinInfoParameter.cs" />
|
<Compile Include="Entities\JoinInfoParameter.cs" />
|
||||||
|
<Compile Include="ExpressionsToSql\Common\MapperSql.cs" />
|
||||||
<Compile Include="ExpressionsToSql\Common\NewExpressionInfo.cs" />
|
<Compile Include="ExpressionsToSql\Common\NewExpressionInfo.cs" />
|
||||||
<Compile Include="ExpressionsToSql\ResolveItems\BaseResolve_Helper.cs" />
|
<Compile Include="ExpressionsToSql\ResolveItems\BaseResolve_Helper.cs" />
|
||||||
<Compile Include="ExpressionsToSql\ResolveItems\BaseResolve_Validate.cs" />
|
<Compile Include="ExpressionsToSql\ResolveItems\BaseResolve_Validate.cs" />
|
||||||
|
Loading…
Reference in New Issue
Block a user