Click or drag to resize

IQueryResultSetTDataTake Method

Take only count results

Namespace: SanteDB.Core.Model.Query
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
IQueryResultSet<TData> Take(
	int count
)

Parameters

count  Int32
The number of records to take from the result set

Return Value

IQueryResultSetTData

[Missing <returns> documentation for "M:SanteDB.Core.Model.Query.IQueryResultSet`1.Take(System.Int32)"]

Remarks
This method results in a new query result set which has a FETCH FIRST count ROWS ONLY clause appended to it. In HTTP to upstream, this sets the _count=count query string variable.
See Also