Interface IEntityRepositoryExtended
Namespace: Umbraco.Cms.Infrastructure.Persistence.Repositories
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IEntityRepositoryExtended : IEntityRepository, IRepository
Methods
View SourceGetPagedResultsByQuery(IQuery<IUmbracoEntity>, Guid[], Int64, Int32, out Int64, IQuery<IUmbracoEntity>, Ordering, Nullable<Action<Sql<ISqlContext>>>)
Gets paged entities for a query and a subset of object types
Declaration
IEnumerable<IEntitySlim> GetPagedResultsByQuery(IQuery<IUmbracoEntity> query, Guid[] objectTypes, long pageIndex, int pageSize, out long totalRecords, IQuery<IUmbracoEntity> filter, Ordering ordering, Action<Sql<ISqlContext>>? sqlCustomization = null)
Parameters
Type | Name | Description |
---|---|---|
IQuery<IUmbraco |
query | |
Guid[] | objectTypes | |
System. |
pageIndex | |
System. |
pageSize | |
System. |
totalRecords | |
IQuery<IUmbraco |
filter | |
Ordering | ordering | |
System. |
sqlCustomization | A callback providing the ability to customize the generated SQL used to retrieve entities |
Returns
Type | Description |
---|---|
IEnumerable<IEntity |
A collection of mixed entity types which would be of type IEntity |