mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Beautification code
This commit is contained in:
14
Src/Asp.Net/SqlSugar/Interface/ITenant.cs
Normal file
14
Src/Asp.Net/SqlSugar/Interface/ITenant.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace SqlSugar
|
||||
{
|
||||
public interface ITenant
|
||||
{
|
||||
void BeginAllTran();
|
||||
void CommitAllTran();
|
||||
void RollbackAllTran();
|
||||
}
|
||||
}
|
@@ -124,6 +124,7 @@
|
||||
<Compile Include="Infrastructure\Mapper.cs" />
|
||||
<Compile Include="Interface\ISaveable.cs" />
|
||||
<Compile Include="Interface\ISqlSugarClient.cs" />
|
||||
<Compile Include="Interface\ITenant.cs" />
|
||||
<Compile Include="OnlyNet\PostgreSQLExpressionContext.cs" />
|
||||
<Compile Include="Realization\Oracle\Deleteable\OracleDeleteable.cs" />
|
||||
<Compile Include="Realization\Oracle\Insertable\OracleInsertable.cs" />
|
||||
|
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SqlSugar
|
||||
{
|
||||
public class SqlSugarClient : ISqlSugarClient
|
||||
public class SqlSugarClient : ISqlSugarClient, ITenant
|
||||
{
|
||||
#region Gobal Property
|
||||
private ISqlSugarClient _Context = null;
|
||||
|
Reference in New Issue
Block a user