Add criterion expressed as a lambda expression

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

Syntax

C#
IQueryOver<TRoot, TSubType> And(
	Expression<Func<TSubType, bool>> expression
)
Visual Basic
Function And ( _
	expression As Expression(Of Func(Of TSubType, Boolean)) _
) As IQueryOver(Of TRoot, TSubType)
Visual C++
IQueryOver<TRoot, TSubType>^ And(
	Expression<Func<TSubType, bool>^>^ expression
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TSubType, Boolean>)>)>>)>)>
Lambda expression

Return Value

criteria instance

See Also