diff --git a/Src/Asp.Net/SqlSugar/Interface/ISugarRepository.cs b/Src/Asp.Net/SqlSugar/Interface/ISugarRepository.cs
new file mode 100644
index 000000000..ca4821c81
--- /dev/null
+++ b/Src/Asp.Net/SqlSugar/Interface/ISugarRepository.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace SqlSugar
+{
+ public interface ISugarRepository
+ {
+ ISqlSugarClient Context { get; set; }
+ }
+}
diff --git a/Src/Asp.Net/SqlSugar/SimpleClient.cs b/Src/Asp.Net/SqlSugar/SimpleClient.cs
index db417ed45..f17e11256 100644
--- a/Src/Asp.Net/SqlSugar/SimpleClient.cs
+++ b/Src/Asp.Net/SqlSugar/SimpleClient.cs
@@ -319,9 +319,4 @@ namespace SqlSugar
[Obsolete("Use AsSugarClient()")]
public ISqlSugarClient FullClient { get { return this.Context; } }
}
-
- public interface ISugarRepository
- {
- ISqlSugarClient Context { get; set; }
- }
}
diff --git a/Src/Asp.Net/SqlSugar/SqlSugar.csproj b/Src/Asp.Net/SqlSugar/SqlSugar.csproj
index 57426e281..bf786cdd3 100644
--- a/Src/Asp.Net/SqlSugar/SqlSugar.csproj
+++ b/Src/Asp.Net/SqlSugar/SqlSugar.csproj
@@ -89,6 +89,7 @@
+