Click or drag to resize

QueuedDiagnosticReportServiceQuery(ExpressionFuncDiagnosticReport, Boolean, IPrincipal) Method

Query for TData whose current version matches query

Namespace: SanteDB.Client.Disconnected.Services
Assembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public IQueryResultSet<DiagnosticReport> Query(
	Expression<Func<DiagnosticReport, bool>> query,
	IPrincipal principal
)

Parameters

query  ExpressionFuncDiagnosticReport, Boolean
Query.
principal  IPrincipal
The principal under which the query is occurring

Return Value

IQueryResultSetDiagnosticReport

[Missing <returns> documentation for "M:SanteDB.Client.Disconnected.Services.QueuedDiagnosticReportService.Query(System.Linq.Expressions.Expression{System.Func{SanteDB.Core.Model.AMI.Diagnostics.DiagnosticReport,System.Boolean}},System.Security.Principal.IPrincipal)"]

Implements

IDataPersistenceServiceTDataQuery(ExpressionFuncTData, Boolean, IPrincipal)
Remarks

This method will query for all records of type TData. By default the query will only return active records, unless a status parameter is passed, in which case records matching the requested status will be returned.

The result of this call is an IQueryResultSetTData, this class supports delayed execution and yielded returns of records. This means that each call to methods on the return value may result in a query to the database.

See Also