Show / Hide Table of Contents

Interface ITenantRepository

Inherited Members
IBasicRepository<Tenant, Guid>.DeleteAsync(Guid, bool, CancellationToken)
IBasicRepository<Tenant, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
IBasicRepository<Tenant>.InsertAsync(Tenant, bool, CancellationToken)
IBasicRepository<Tenant>.InsertManyAsync(IEnumerable<Tenant>, bool, CancellationToken)
IBasicRepository<Tenant>.UpdateAsync(Tenant, bool, CancellationToken)
IBasicRepository<Tenant>.UpdateManyAsync(IEnumerable<Tenant>, bool, CancellationToken)
IBasicRepository<Tenant>.DeleteAsync(Tenant, bool, CancellationToken)
IBasicRepository<Tenant>.DeleteManyAsync(IEnumerable<Tenant>, bool, CancellationToken)
IReadOnlyBasicRepository<Tenant, Guid>.GetAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<Tenant, Guid>.FindAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<Tenant>.GetListAsync(bool, CancellationToken)
IReadOnlyBasicRepository<Tenant>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<Tenant>.GetPagedListAsync(int, int, string, bool, CancellationToken)
IRepository.IsChangeTrackingEnabled
Namespace: Volo.Abp.TenantManagement
Assembly: Volo.Abp.TenantManagement.Domain.dll
Syntax
public interface ITenantRepository : IBasicRepository<Tenant, Guid>, IBasicRepository<Tenant>, IReadOnlyBasicRepository<Tenant, Guid>, IReadOnlyBasicRepository<Tenant>, IRepository

Methods

FindById(Guid, bool)

Declaration
[Obsolete("Use FindAsync method.")]
Tenant FindById(Guid id, bool includeDetails = true)
Parameters
Type Name Description
Guid id
bool includeDetails
Returns
Type Description
Tenant

FindByName(string, bool)

Declaration
[Obsolete("Use FindByNameAsync method.")]
Tenant FindByName(string normalizedName, bool includeDetails = true)
Parameters
Type Name Description
string normalizedName
bool includeDetails
Returns
Type Description
Tenant

FindByNameAsync(string, bool, CancellationToken)

Declaration
Task<Tenant> FindByNameAsync(string normalizedName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string normalizedName
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<Tenant>

GetCountAsync(string, CancellationToken)

Declaration
Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetListAsync(string, int, int, string, bool, CancellationToken)

Declaration
Task<List<Tenant>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int maxResultCount
int skipCount
string filter
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<Tenant>>

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform