Skip to main content
.NET 8.0+

XPBaseCollection.PreFetch(String[]) Method

In This Article

Enforces loading data for associated collections and delayed properties.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public void PreFetch(
    params string[] propertyPaths
)

#Parameters

Name Type Description
propertyPaths String[]

An array of strings that are the collection property and delayed property names, or property paths (e.g, “ChildCollection.AnotherChildCollection”).

See Also