Browse Source

Update Mapping expression

pull/15/MERGE
sunkaixuan 3 years ago
parent
commit
0925bc7d87
  1. 5
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MapperExpressionResolve.cs

5
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MapperExpressionResolve.cs

@ -17,6 +17,11 @@ namespace SqlSugar
public MapperExpressionResolve(Expression expression, InvalidOperationException ex)
{
this.expression = expression;
OldNavgate(expression, ex);
}
private void OldNavgate(Expression expression, InvalidOperationException ex)
{
this.ex = ex;
this.mappers = CallContext.MapperExpression.Value;
Error01();

Loading…
Cancel
Save