Show / Hide Table of Contents

Interface IFaqSectionRepository

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

Methods

AnyAsync(Guid, CancellationToken)

Declaration
Task<bool> AnyAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

AnyAsync(string, string, CancellationToken)

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

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, string, int, int, CancellationToken)

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

GetListSectionWithQuestionAsync(string, string, CancellationToken)

Declaration
Task<List<FaqSectionWithQuestions>> GetListSectionWithQuestionAsync(string groupName = null, string sectionName = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string groupName
string sectionName
CancellationToken cancellationToken
Returns
Type Description
Task<List<FaqSectionWithQuestions>>

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