mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
NavgateExpression
This commit is contained in:
parent
2735463160
commit
718f8fb7c4
@ -17,7 +17,7 @@ namespace SqlSugar
|
||||
public MapperExpressionResolve(Expression expression, InvalidOperationException ex)
|
||||
{
|
||||
this.expression = expression;
|
||||
NavgateExpression navgate = new NavgateExpression();
|
||||
NavgateExpression navgate = new NavgateExpression(context);
|
||||
if (navgate.IsNavgate(expression))
|
||||
{
|
||||
navgate.Execute(this);
|
||||
|
@ -9,6 +9,13 @@ namespace SqlSugar
|
||||
{
|
||||
internal class NavgateExpression
|
||||
{
|
||||
private SqlSugarProvider context;
|
||||
|
||||
public NavgateExpression(SqlSugarProvider context)
|
||||
{
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
internal bool IsNavgate(Expression expression)
|
||||
{
|
||||
var exp = expression;
|
||||
|
Loading…
Reference in New Issue
Block a user