diff --git a/Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs b/Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs index fc4ed0226..4cb37ef1c 100644 --- a/Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs +++ b/Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs @@ -8,7 +8,7 @@ using System.Text; using System.Threading.Tasks; namespace SqlSugar { - public class ContextMethods : IContextMethods + public partial class ContextMethods : IContextMethods { public SqlSugarClient Context { get; set; } #region DataReader diff --git a/Src/Asp.Net/SqlSugar/Interface/IContextMethods.cs b/Src/Asp.Net/SqlSugar/Interface/IContextMethods.cs index 2ed561d1c..2edf45c59 100644 --- a/Src/Asp.Net/SqlSugar/Interface/IContextMethods.cs +++ b/Src/Asp.Net/SqlSugar/Interface/IContextMethods.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace SqlSugar { - public interface IContextMethods + public partial interface IContextMethods { SqlSugarClient Context { get; set; } ExpandoObject DataReaderToExpandoObject(IDataReader reader);