Table of Contents

Class EntityPagedResult<TReadModel>

Namespace
Arbiter.CommandQuery.Queries
Assembly
Arbiter.CommandQuery.dll

A paged result for an entity query.

public class EntityPagedResult<TReadModel>

Type Parameters

TReadModel

The type of the read model.

Inheritance
EntityPagedResult<TReadModel>
Inherited Members

Properties

Data

The current page of data for the query.

[JsonPropertyName("data")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyCollection<TReadModel>? Data { get; set; }

Property Value

IReadOnlyCollection<TReadModel>

Total

The total number of the results for the query.

[JsonPropertyName("total")]
public long Total { get; set; }

Property Value

long