Skip to main content
.NET 8.0+

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.
PreFetchAsync<T>(IEnumerable<T>, CancellationToken, String[]) objects, cancellationToken, propertyPaths Asynchronously forces associated collection data loading and delayed property loading for specified parent objects.