Click or drag to resize

HdsiServiceClientQueryTModel(ExpressionFuncTModel, Boolean, Int32, NullableInt32, NullableGuid, ModelSortTModel) Method

Performs a query.

Namespace: SanteDB.Messaging.HDSI.Client
Assembly: SanteDB.Messaging.HDSI.Client (in SanteDB.Messaging.HDSI.Client.dll) Version: 3.0.2081-alpha+cbc29d8899d643bca0b6921497a6c32801355dbe
Syntax
public Bundle Query<TModel>(
	Expression<Func<TModel, bool>> query,
	int offset,
	int? count,
	Guid? queryId = null,
	ModelSort<TModel>[] orderBy = null
)
where TModel : IdentifiedData

Parameters

query  ExpressionFuncTModel, Boolean
The query parameters as a LINQ expression.
offset  Int32
The offset of the query.
count  NullableInt32
The count of the query results.
queryId  NullableGuid  (Optional)
The stateful query identifier
orderBy  ModelSortTModel  (Optional)
The ordering instructions

Type Parameters

TModel
The type of object to query.

Return Value

Bundle
Returns a Bundle containing the data.
See Also