 | QueuedDiagnosticReportServiceQuery(ExpressionFuncDiagnosticReport, Boolean, IPrincipal) Method |
Query for TData whose current version matches query
Namespace: SanteDB.Client.Disconnected.ServicesAssembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic IQueryResultSet<DiagnosticReport> Query(
Expression<Func<DiagnosticReport, bool>> query,
IPrincipal principal
)
Public Function Query (
query As Expression(Of Func(Of DiagnosticReport, Boolean)),
principal As IPrincipal
) As IQueryResultSet(Of DiagnosticReport)
public:
virtual IQueryResultSet<DiagnosticReport^>^ Query(
Expression<Func<DiagnosticReport^, bool>^>^ query,
IPrincipal^ principal
) sealed
abstract Query :
query : Expression<Func<DiagnosticReport, bool>> *
principal : IPrincipal -> IQueryResultSet<DiagnosticReport>
override Query :
query : Expression<Func<DiagnosticReport, bool>> *
principal : IPrincipal -> IQueryResultSet<DiagnosticReport> 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)
RemarksThis 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