Class TenantClientProxy
Implements
Inherited Members
Namespace: Volo.Abp.TenantManagement
Assembly: Volo.Abp.TenantManagement.HttpApi.Client.dll
Syntax
[Dependency(ReplaceServices = true)]
[ExposeServices(new Type[] { typeof(ITenantAppService), typeof(TenantClientProxy) })]
public class TenantClientProxy : ClientProxyBase<ITenantAppService>, ITransientDependency, ITenantAppService, ICrudAppService<TenantDto, Guid, GetTenantsInput, TenantCreateDto, TenantUpdateDto>, ICrudAppService<TenantDto, TenantDto, Guid, GetTenantsInput, TenantCreateDto, TenantUpdateDto>, IReadOnlyAppService<TenantDto, TenantDto, Guid, GetTenantsInput>, ICreateUpdateAppService<TenantDto, Guid, TenantCreateDto, TenantUpdateDto>, ICreateAppService<TenantDto, TenantCreateDto>, IUpdateAppService<TenantDto, Guid, TenantUpdateDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
TenantClientProxy()
Declaration
public TenantClientProxy()
Methods
CreateAsync(TenantCreateDto)
Declaration
public virtual Task<TenantDto> CreateAsync(TenantCreateDto input)
Parameters
Type | Name | Description |
---|---|---|
TenantCreateDto | input |
Returns
Type | Description |
---|---|
Task<TenantDto> |
DeleteAsync(Guid)
Declaration
public virtual Task DeleteAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
DeleteDefaultConnectionStringAsync(Guid)
Declaration
public virtual Task DeleteDefaultConnectionStringAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
GetAsync(Guid)
Declaration
public virtual Task<TenantDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<TenantDto> |
GetDefaultConnectionStringAsync(Guid)
Declaration
public virtual Task<string> GetDefaultConnectionStringAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<string> |
GetListAsync(GetTenantsInput)
Declaration
public virtual Task<PagedResultDto<TenantDto>> GetListAsync(GetTenantsInput input)
Parameters
Type | Name | Description |
---|---|---|
GetTenantsInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<TenantDto>> |
UpdateAsync(Guid, TenantUpdateDto)
Declaration
public virtual Task<TenantDto> UpdateAsync(Guid id, TenantUpdateDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
TenantUpdateDto | input |
Returns
Type | Description |
---|---|
Task<TenantDto> |
UpdateDefaultConnectionStringAsync(Guid, string)
Declaration
public virtual Task UpdateDefaultConnectionStringAsync(Guid id, string defaultConnectionString)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
string | defaultConnectionString |
Returns
Type | Description |
---|---|
Task |