Show / Hide Table of Contents

Interface IPageRepository

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

Methods

ExistsAsync(string, CancellationToken)

Declaration
Task<bool> ExistsAsync(string slug, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string slug
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

FindBySlugAsync(string, CancellationToken)

Declaration
Task<Page> FindBySlugAsync(string slug, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string slug
CancellationToken cancellationToken
Returns
Type Description
Task<Page>

FindTitleAsync(Guid, CancellationToken)

Declaration
Task<string?> FindTitleAsync(Guid pageId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid pageId
CancellationToken cancellationToken
Returns
Type Description
Task<string>

GetBySlugAsync(string, CancellationToken)

Declaration
Task<Page> GetBySlugAsync(string slug, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string slug
CancellationToken cancellationToken
Returns
Type Description
Task<Page>

GetCountAsync(string, CancellationToken)

Declaration
Task<int> GetCountAsync(string filter = null, 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<Page>> GetListAsync(string filter = null, 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<Page>>

GetListOfHomePagesAsync(CancellationToken)

Declaration
Task<List<Page>> GetListOfHomePagesAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<List<Page>>

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