Click or drag to resize

OrmQueryResultSetTResultIntersect(ExpressionFuncTResult, Boolean) Method

Intersect this result set with another

Namespace: SanteDB.OrmLite
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public IQueryResultSet<TResult> Intersect(
	Expression<Func<TResult, bool>> query
)

Parameters

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

Return Value

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

Implements

IQueryResultSetTDataIntersect(ExpressionFuncTData, Boolean)
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