Click or drag to resize

IQueryResultSetTDataIntersect(ExpressionFuncTData, Boolean) Method

Intersect this result set with another

Namespace: SanteDB.Core.Model.Query
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
IQueryResultSet<TData> Intersect(
	Expression<Func<TData, bool>> query
)

Parameters

query  ExpressionFuncTData, Boolean
The query of records matching a second result set with which this result set should be intersected

Return Value

IQueryResultSetTData
A new IQueryResultSetTData which contains the necessary persistence layer instructions to intersect this set with another
Remarks

This method intersecs the current result set (via SQL) with the results of a SQL expression with query. The result is a new IQueryResultSetTData which only contains the records of this result set's query and the query of query

See Also