Join an association using the specified join-type, assigning an alias to the joined
association
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function CreateAlias ( _ associationPath As String, _ alias As String, _ joinType As JoinType _ ) As ICriteria |
C# |
---|
ICriteria CreateAlias( string associationPath, string alias, JoinType joinType ) |
Visual C++ |
---|
ICriteria^ CreateAlias( String^ associationPath, String^ alias, JoinType joinType ) |
JavaScript |
---|
function createAlias(associationPath, alias, joinType); |
Parameters
- associationPath
- Type: System..::.String
- alias
- Type: System..::.String
- joinType
- Type: NHibernate.SqlCommand..::.JoinType
The type of join to use.