Class AbpTenantAppService
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Pages.Abp.MultiTenancy
Assembly: Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.dll
Syntax
public class AbpTenantAppService : ApplicationService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IAbpTenantAppService, IApplicationService, IRemoteService
Constructors
AbpTenantAppService(ITenantStore)
Declaration
public AbpTenantAppService(ITenantStore tenantStore)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenantStore | tenantStore |
Properties
TenantStore
Declaration
protected ITenantStore TenantStore { get; }
Property Value
| Type | Description |
|---|---|
| ITenantStore |
Methods
FindTenantByIdAsync(Guid)
Declaration
public virtual Task<FindTenantResultDto> FindTenantByIdAsync(Guid id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | id |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><FindTenantResultDto> |
FindTenantByNameAsync(string)
Declaration
public virtual Task<FindTenantResultDto> FindTenantByNameAsync(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><FindTenantResultDto> |