mirror of https://github.com/abpframework/abp.git
8 changed files with 42 additions and 15 deletions
@ -1,8 +0,0 @@ |
|||
namespace Volo.Abp.AspNetCore.MultiTenancy |
|||
{ |
|||
public static class AbpAspNetCoreMultiTenancyConsts |
|||
{ |
|||
//TODO: Get from an option instead of a constant!
|
|||
public const string TenantIdKey = "__tenantId"; |
|||
} |
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
namespace Volo.Abp.AspNetCore.MultiTenancy |
|||
{ |
|||
public class AspNetCoreMultiTenancyOptions |
|||
{ |
|||
/// <summary>
|
|||
/// Default: "__tenantId".
|
|||
/// </summary>
|
|||
public string TenantIdKey { get; set; } |
|||
|
|||
public AspNetCoreMultiTenancyOptions() |
|||
{ |
|||
TenantIdKey = "__tenantId"; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue