Specify an association fetching strategy. Currently, only
one-to-many and one-to-one associations are supported.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQueryOverFetchBuilder<TRoot, TSubType> Fetch( Expression<Func<TRoot, Object>> path ) |
Visual Basic |
---|
Function Fetch ( _ path As Expression(Of Func(Of TRoot, Object)) _ ) As IQueryOverFetchBuilder(Of TRoot, TSubType) |
Visual C++ |
---|
IQueryOverFetchBuilder<TRoot, TSubType>^ Fetch( Expression<Func<TRoot, Object^>^>^ path ) |
Parameters
- path
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TRoot, Object>)>)>>)>)>
A lambda expression path (e.g., ChildList[0].Granchildren[0].Pets).
Return Value
[Missing <returns> documentation for "M:NHibernate.IQueryOver`2.Fetch(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})"]