Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IEntityRepositoryExtended

    Namespace: Umbraco.Cms.Infrastructure.Persistence.Repositories
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IEntityRepositoryExtended : IEntityRepository, IRepository

    Methods

    View Source

    GetPagedResultsByQuery(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<IUmbracoEntity> query
    Guid[] objectTypes
    System.Int64 pageIndex
    System.Int32 pageSize
    System.Int64 totalRecords
    IQuery<IUmbracoEntity> filter
    Ordering ordering
    System.Nullable<Action<Sql<ISqlContext>>> sqlCustomization

    A callback providing the ability to customize the generated SQL used to retrieve entities

    Returns
    Type Description
    IEnumerable<IEntitySlim>

    A collection of mixed entity types which would be of type IEntitySlim, IDocumentEntitySlim, IMediaEntitySlim, IMemberEntitySlim

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetPagedResultsByQuery(IQuery<IUmbracoEntity>, Guid[], Int64, Int32, out Int64, IQuery<IUmbracoEntity>, Ordering, Nullable<Action<Sql<ISqlContext>>>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX