Create a new ICriteria, "rooted" at the associated entity, assigning the given alias

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

Syntax

C#
ICriteria CreateCriteria(
	string associationPath,
	string alias
)
Visual Basic
Function CreateCriteria ( _
	associationPath As String, _
	alias As String _
) As ICriteria
Visual C++
ICriteria^ CreateCriteria(
	String^ associationPath, 
	String^ alias
)

Parameters

associationPath
Type: System..::..String

[Missing <param name="associationPath"/> documentation for "M:NHibernate.ICriteria.CreateCriteria(System.String,System.String)"]

alias
Type: System..::..String

[Missing <param name="alias"/> documentation for "M:NHibernate.ICriteria.CreateCriteria(System.String,System.String)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.ICriteria.CreateCriteria(System.String,System.String)"]

See Also