Show / Hide Table of Contents

    Class EntityPage<T>

    Represents a page of results.

    Inheritance
    System.Object
    EntityPage<T>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Hsl.Xrm.Sdk
    Assembly: Hsl.Xrm.Sdk.Core.dll
    Syntax
    public class EntityPage<T>
        where T : Entity
    Type Parameters
    Name Description
    T

    The early bound type of the results.

    Properties

    Entities

    The list of record on this page of results.

    Declaration
    public List<T> Entities { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<T>

    MorePages

    Whether there are more pages of results or if this is the last page of results.

    Declaration
    public bool MorePages { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    RetrieveNextPageAsync(IAsyncOrgService, CancellationToken)

    Retrieves the next page of results.

    Declaration
    public Task<EntityPage<T>> RetrieveNextPageAsync(IAsyncOrgService service, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    IAsyncOrgService service
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<EntityPage<T>>
    Back to top Hsl.Xrm.Sdk