mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-19 07:44:45 +08:00
Restore code
This commit is contained in:
parent
5f3adeef43
commit
b3905ed9d2
@ -17,19 +17,6 @@ namespace SqlSugar
|
||||
public MapperExpressionResolve(Expression expression, InvalidOperationException ex)
|
||||
{
|
||||
this.expression = expression;
|
||||
NavgateExpression navgate = new NavgateExpression(context);
|
||||
if (navgate.IsNavgate(expression))
|
||||
{
|
||||
navgate.Execute(this);
|
||||
}
|
||||
else
|
||||
{
|
||||
OldNavgate(expression, ex);
|
||||
}
|
||||
}
|
||||
|
||||
private void OldNavgate(Expression expression, InvalidOperationException ex)
|
||||
{
|
||||
this.ex = ex;
|
||||
this.mappers = CallContext.MapperExpression.Value;
|
||||
Error01();
|
||||
@ -244,7 +231,8 @@ namespace SqlSugar
|
||||
this.querybuiler.TableShortName = (childExpression as MemberExpression).Expression.ToString();
|
||||
}
|
||||
this.context.InitMappingInfo(childExpression.Type);
|
||||
return new MapperExpressionInfo() {
|
||||
return new MapperExpressionInfo()
|
||||
{
|
||||
EntityInfo = this.context.EntityMaintenance.GetEntityInfo(childExpression.Type)
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user