Create a new ICriteria, "rooted" at the associated entity,
using the specified join type.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function CreateCriteria ( _ associationPath As String, _ joinType As JoinType _ ) As ICriteria |
C# |
---|
ICriteria CreateCriteria( string associationPath, JoinType joinType ) |
Visual C++ |
---|
ICriteria^ CreateCriteria( String^ associationPath, JoinType joinType ) |
JavaScript |
---|
function createCriteria(associationPath, joinType); |
Parameters
- associationPath
- Type: System..::.String
A dot-seperated property path
- joinType
- Type: NHibernate.SqlCommand..::.JoinType
The type of join to use