mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 18:34:55 +08:00
code optimization
This commit is contained in:
13
Src/Asp.Net/SqlSugar/Interface/ISugarRepository.cs
Normal file
13
Src/Asp.Net/SqlSugar/Interface/ISugarRepository.cs
Normal file
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -319,9 +319,4 @@ namespace SqlSugar
|
||||
[Obsolete("Use AsSugarClient()")]
|
||||
public ISqlSugarClient FullClient { get { return this.Context; } }
|
||||
}
|
||||
|
||||
public interface ISugarRepository
|
||||
{
|
||||
ISqlSugarClient Context { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
<Compile Include="Abstract\InsertableProvider\InsertableProvider.cs" />
|
||||
<Compile Include="Abstract\DeleteProvider\DeleteableProvider.cs" />
|
||||
<Compile Include="ExpressionsToSql\Subquery\Items\SubAs.cs" />
|
||||
<Compile Include="Interface\ISugarRepository.cs" />
|
||||
<Compile Include="Interface\IParameterInsertable.cs" />
|
||||
<Compile Include="Abstract\InsertableProvider\ParameterInsertable.cs" />
|
||||
<Compile Include="Abstract\Reportable\ReportableProvider.cs" />
|
||||
|
||||
Reference in New Issue
Block a user