Namespace:  NHibernate.Expression
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function CreateCriteria ( _
	associationPath As String, _
	joinType As JoinType _
) As DetachedCriteria
C#
public DetachedCriteria CreateCriteria(
	string associationPath,
	JoinType joinType
)
Visual C++
public:
DetachedCriteria^ CreateCriteria(
	String^ associationPath, 
	JoinType joinType
)
JavaScript
function createCriteria(associationPath, joinType);

Parameters

associationPath
Type: System..::.String
joinType
Type: NHibernate.SqlCommand..::.JoinType

See Also