 | OrmQueryResultSetTResultIntersect(ExpressionFuncTResult, Boolean) Method |
Intersect this result set with another
Namespace: SanteDB.OrmLiteAssembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntaxpublic IQueryResultSet<TResult> Intersect(
Expression<Func<TResult, bool>> query
)
Public Function Intersect (
query As Expression(Of Func(Of TResult, Boolean))
) As IQueryResultSet(Of TResult)
public:
virtual IQueryResultSet<TResult>^ Intersect(
Expression<Func<TResult, bool>^>^ query
) sealed
abstract Intersect :
query : Expression<Func<'TResult, bool>> -> IQueryResultSet<'TResult>
override Intersect :
query : Expression<Func<'TResult, bool>> -> IQueryResultSet<'TResult> Parameters
- query ExpressionFuncTResult, Boolean
- The query of records matching a second result set with which this result set should be intersected
Return Value
IQueryResultSetTResultA new
IQueryResultSetTData which contains the necessary persistence layer instructions to intersect this set with another
Implements
IQueryResultSetTDataIntersect(ExpressionFuncTData, Boolean)
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