Interface IReadOnlyBasicRepository<TEntity>
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public interface IReadOnlyBasicRepository<TEntity> : IRepository where TEntity : class, IEntity
Type Parameters
Methods
GetCountAsync(CancellationToken)
Declaration
Task<long> GetCountAsync(CancellationToken cancellationToken = default)
Parameters
| Type |
Name |
Description |
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><long> |
|
GetListAsync(bool, CancellationToken)
Declaration
Task<List<TEntity>> GetListAsync(bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
| Type |
Name |
Description |
| bool |
includeDetails |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.List<T><TEntity>> |
|
GetPagedListAsync(int, int, string, bool, CancellationToken)
Declaration
Task<List<TEntity>> GetPagedListAsync(int skipCount, int maxResultCount, string sorting, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
| Type |
Name |
Description |
| int |
skipCount |
|
| int |
maxResultCount |
|
| string |
sorting |
|
| bool |
includeDetails |
|
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.List<T><TEntity>> |
|
Extension Methods