Show / Hide Table of Contents

Interface ITagRepository

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

Methods

AnyAsync(string, string, CancellationToken)

Declaration
Task<bool> AnyAsync(string entityType, string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string entityType
string name
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

FindAsync(string, string, CancellationToken)

Declaration
Task<Tag> FindAsync(string entityType, string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string entityType
string name
CancellationToken cancellationToken
Returns
Type Description
Task<Tag>

GetAllRelatedTagsAsync(string, string, CancellationToken)

Declaration
Task<List<Tag>> GetAllRelatedTagsAsync(string entityType, string entityId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string entityType
string entityId
CancellationToken cancellationToken
Returns
Type Description
Task<List<Tag>>

GetAsync(string, string, CancellationToken)

Declaration
Task<Tag> GetAsync(string entityType, string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string entityType
string name
CancellationToken cancellationToken
Returns
Type Description
Task<Tag>

GetCountAsync(string, CancellationToken)

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

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

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

GetPopularTagsAsync(string, int, CancellationToken)

Declaration
Task<List<PopularTag>> GetPopularTagsAsync(string entityType, int maxCount, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string entityType
int maxCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<PopularTag>>

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