Table of Contents

Method ReadAllPaged

Namespace
Skyline.DataMiner.Utils.DOM.Extensions
Assembly
Skyline.DataMiner.Utils.DOM.dll

ReadAllPaged<T>(ICrudHelperComponent<T>, long)

Reads all items in a paged manner with the specified page size.

public static IEnumerable<IEnumerable<T>> ReadAllPaged<T>(this ICrudHelperComponent<T> helper, long pageSize = 500) where T : DataType

Parameters

helper ICrudHelperComponent<T>

The helper component for CRUD operations.

pageSize long

The number of items per page.

Returns

IEnumerable<IEnumerable<T>>

An enumerable collection of all data.

Type Parameters

T

The type of data to read.

Exceptions

ArgumentNullException

Thrown when helper is null.