Creates a new NHibernate.IQueryOver<TRoot, U>, "rooted" at the associated entity specifying a collection for the join.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
IQueryOver<TRoot, U> JoinQueryOver<U>(
	Expression<Func<TSubType, IEnumerable<U>>> path,
	Expression<Func<U>> alias,
	JoinType joinType,
	ICriterion withClause
)
Visual Basic
Function JoinQueryOver(Of U) ( _
	path As Expression(Of Func(Of TSubType, IEnumerable(Of U))), _
	alias As Expression(Of Func(Of U)), _
	joinType As JoinType, _
	withClause As ICriterion _
) As IQueryOver(Of TRoot, U)
Visual C++
generic<typename U>
IQueryOver<TRoot, U>^ JoinQueryOver(
	Expression<Func<TSubType, IEnumerable<U>^>^>^ path, 
	Expression<Func<U>^>^ alias, 
	JoinType joinType, 
	ICriterion^ withClause
)

Parameters

path
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TSubType, IEnumerable<(Of <(<'U>)>)>>)>)>>)>)>
Lambda expression returning association path
alias
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'U>)>)>>)>)>
Lambda expression returning alias reference
joinType
Type: NHibernate.SqlCommand..::..JoinType
Type of join
withClause
Type: NHibernate.Criterion..::..ICriterion
Additional criterion for the SQL on clause

Type Parameters

U
Type of sub-criteria (type of the collection)

Return Value

The created "sub criteria"

See Also