Click or drag to resize

IDataPersistenceServiceTDataQuery(ExpressionFuncTData, Boolean, Int32, NullableInt32, Int32, IPrincipal, ModelSortTData) Method

Note: This API is now obsolete.

Query the specified data

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
[ObsoleteAttribute("Use Query(query, principal) instead", true)]
IEnumerable<TData> Query(
	Expression<Func<TData, bool>> query,
	int offset,
	int? count,
	out int totalResults,
	IPrincipal principal,
	params ModelSort<TData>[] orderBy
)

Parameters

query  ExpressionFuncTData, Boolean
Query.
offset  Int32
The offset of the first result
count  NullableInt32
The count of results to include in the response set
totalResults  Int32
The total number of results matching the query
principal  IPrincipal
The security principal under which the query is occurring
orderBy  ModelSortTData
The ordering instrutions to send the query

Return Value

IEnumerableTData

[Missing <returns> documentation for "M:SanteDB.Core.Services.IDataPersistenceService`1.Query(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.Int32,System.Nullable{System.Int32},System.Int32@,System.Security.Principal.IPrincipal,SanteDB.Core.Model.Query.ModelSort{`0}[])"]

See Also