.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.PreFetchAsync Method

Name Parameters Description
PreFetchAsync(IEnumerable, XPMemberInfo, IEnumerable, CancellationToken) objects, collectionInObjects, collectionsContent, cancellationToken

Asynchronously forces associated collection data loading for specified parent objects.

PreFetchAsync(XPClassInfo, IEnumerable, CancellationToken, String[]) classInfo, objects, cancellationToken, propertyPaths

Asynchronously forces associated collection data loading and delayed property 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.