Table of Contents

Class ResultPage<TEntity, TKey>

Namespace
Tharga.MongoDB
Assembly
Tharga.MongoDB.dll
public record ResultPage<TEntity, TKey> : IEquatable<ResultPage<TEntity, TKey>> where TEntity : EntityBase<TKey>

Type Parameters

TEntity
TKey
Inheritance
ResultPage<TEntity, TKey>
Implements
IEquatable<ResultPage<TEntity, TKey>>
Inherited Members

Properties

Items

public IAsyncEnumerable<TEntity> Items { get; init; }

Property Value

IAsyncEnumerable<TEntity>

Page

public int Page { get; init; }

Property Value

int

TotalCount

public long TotalCount { get; init; }

Property Value

long

TotalPages

public int TotalPages { get; init; }

Property Value

int