Skip to main content
A newer version of this page is available. .

IRepositoryQuery<T>.Include<TProperty>(Expression<Func<T, TProperty>>) Method

Specifies the related objects to include in the query results.

Namespace: DevExpress.Mvvm.DataModel

Assembly: DevExpress.Mvvm.v20.2.DataModel.dll

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.DataModel

Declaration

IRepositoryQuery<T> Include<TProperty>(
    Expression<Func<T, TProperty>> path
)

Parameters

Name Type Description
path Expression<Func<T, TProperty>>

A lambda expression that represents the path to include.

Type Parameters

Name
TProperty

Returns

Type
IRepositoryQuery<T>
See Also