Join an association using the specified join-type, assigning an alias to the joined
            association
            
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
ICriteria CreateAlias( string associationPath, string alias, JoinType joinType )  | 
| Visual Basic | 
|---|
Function CreateAlias ( _ associationPath As String, _ alias As String, _ joinType As JoinType _ ) As ICriteria  | 
| Visual C++ | 
|---|
ICriteria^ CreateAlias( String^ associationPath, String^ alias, JoinType joinType )  | 
Parameters
- associationPath
 - Type: System..::..String
[Missing <param name="associationPath"/> documentation for "M:NHibernate.ICriteria.CreateAlias(System.String,System.String,NHibernate.SqlCommand.JoinType)"]
 
- alias
 - Type: System..::..String
[Missing <param name="alias"/> documentation for "M:NHibernate.ICriteria.CreateAlias(System.String,System.String,NHibernate.SqlCommand.JoinType)"]
 
- joinType
 - Type: NHibernate.SqlCommand..::..JoinType
The type of join to use.