Skip to main content

ListResult<T>

  • Namespace: PPDS.Dataverse.Models
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary

Wraps a list result with metadata about the total dataset. Implements Constitution I4: every reduction in displayed records must be visible and reversible.

Members

Properties

FiltersApplied

IReadOnlyList<string> FiltersApplied { get; set; }

Gets the list of filters that were applied (for UI display, e.g. "active only", "root roles only").

Items

IReadOnlyList<T> Items { get; set; }

Gets the items returned by the query.

TotalCount

int TotalCount { get; set; }

Gets the total number of records matching the query (before any top/page limit).

WasTruncated

bool WasTruncated { get; set; }

Gets whether the result was truncated by a top/page limit.