Retrieves a detached criteria from an appropriate lambda expression

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

Syntax

C#
public static DetachedCriteria FindDetachedCriteria(
	Expression expression
)
Visual Basic
Public Shared Function FindDetachedCriteria ( _
	expression As Expression _
) As DetachedCriteria
Visual C++
public:
static DetachedCriteria^ FindDetachedCriteria(
	Expression^ expression
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression
Expresson for detached criteria using .As<>() extension"/>

Return Value

Evaluated detached criteria

See Also