From 3377ac62a57ed9210e11ec7ef11648b8ed3e8fff Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 28 Sep 2017 17:15:26 +0800 Subject: [PATCH] - --- Src/Asp.Net/SqlSugar/SqlSugarClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs index 0c5332d06..4c36ff5c7 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs +++ b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs @@ -80,6 +80,7 @@ namespace SqlSugar if (base._RewritableMethods == null) { base._RewritableMethods = new ContextMethods(); + base._RewritableMethods.Context = this; } return _RewritableMethods; }