ReadOnlyModelControllerTNext Method

Gets the next set of records from the query operation associated with the provided token.

Definition

Namespace: Gemstone.Web.APIController
Assembly: Gemstone.Web (in Gemstone.Web.dll) Version: 1.0.170 -- Release Build+b32d16e0cd614373e36528ea9dff7924975c7f87
[HttpGetAttribute]
[RouteAttribute("Next/{token}/{count:int?}")]
public Task<IActionResult> Next(
	string token,
	int? count,
	CancellationToken cancellationToken
)

Parameters

token  String
Token associated with the query operation.
count  NullableInt32
Maximum number of records to return. Defaults 1 record if not provided.
cancellationToken  CancellationToken
Cancellation token to cancel the operation.

Return Value

TaskIActionResult
An IActionResult containing the next set of records as ListT.

Remarks

When end of enumeration is reached, an empty result list is returned.

See Also