Join an association, assigning an alias to the joined entity
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQueryOver<TRoot, TSubType> JoinAlias( Expression<Func<TSubType, Object>> path, Expression<Func<Object>> alias ) |
Visual Basic |
---|
Function JoinAlias ( _ path As Expression(Of Func(Of TSubType, Object)), _ alias As Expression(Of Func(Of Object)) _ ) As IQueryOver(Of TRoot, TSubType) |
Visual C++ |
---|
IQueryOver<TRoot, TSubType>^ JoinAlias( Expression<Func<TSubType, Object^>^>^ path, Expression<Func<Object^>^>^ alias ) |
Parameters
- path
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TSubType, Object>)>)>>)>)>
Lambda expression returning association path
- alias
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'Object>)>)>>)>)>
Lambda expression returning alias reference