 | IQueryResultSetTDataIntersect(ExpressionFuncTData, Boolean) Method |
Intersect this result set with another
Namespace: SanteDB.Core.Model.QueryAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
SyntaxIQueryResultSet<TData> Intersect(
Expression<Func<TData, bool>> query
)
Function Intersect (
query As Expression(Of Func(Of TData, Boolean))
) As IQueryResultSet(Of TData)
IQueryResultSet<TData>^ Intersect(
Expression<Func<TData, bool>^>^ query
)
abstract Intersect :
query : Expression<Func<'TData, bool>> -> IQueryResultSet<'TData> Parameters
- query ExpressionFuncTData, Boolean
- The query of records matching a second result set with which this result set should be intersected
Return Value
IQueryResultSetTDataA new
IQueryResultSetTData which contains the necessary persistence layer instructions to intersect this set with another
RemarksThis 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