.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

Session.PreFetchAsync Method

Name Parameters Description
PreFetchAsync(XPClassInfo, IEnumerable, CancellationToken, String[]) classInfo, objects, cancellationToken, propertyPaths Asynchronously forces associated collection data loading and delayed property loading for specified parent objects.
PreFetchAsync(IEnumerable, XPMemberInfo, IEnumerable, CancellationToken) objects, collectionInObjects, collectionsContent, cancellationToken Asynchronously forces associated collection data loading for specified parent objects.
PreFetchAsync<T>(IEnumerable<T>, String, IEnumerable, CancellationToken) objects, collectionInObjects, collectionsContent, cancellationToken Asynchronously forces associated collection data loading for specified parent objects.