mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Restore code
This commit is contained in:
@@ -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)
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user