Interface ITenantScopeProvider
Предоставляет методы для создания экземпляров ITenantScope.
Namespace:InfinniPlatform.Session
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public interface ITenantScopeProvider
Methods
| Improve this Doc View SourceBeginTenantScope(String)
Начинает новую область выполнения запросов.
Declaration
ITenantScope BeginTenantScope(string tenantId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tenantId | Идентификатор организации. |
Returns
Type | Description |
---|---|
ITenantScope |
GetTenantScope()
Возвращает текущую область выполнения запросов.
Declaration
ITenantScope GetTenantScope()
Returns
Type | Description |
---|---|
ITenantScope |