Skip to content

Commit

Permalink
增加多租户信息提供者
Browse files Browse the repository at this point in the history
  • Loading branch information
yihango committed Dec 4, 2020
1 parent 538e727 commit c245995
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Riven.Domain/MultiTenancy/IMultiTenancyProvider.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Riven.MultiTenancy
{
/// <summary>
/// 租户提供者
/// </summary>
public interface IMultiTenancyProvider
{
/// <summary>
/// 获取当前租户名称或空
/// </summary>
/// <returns></returns>
string CurrentTenantNameOrNull();
}
}

0 comments on commit c245995

Please sign in to comment.