.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.PreFetch Method

Name Parameters Description
PreFetch(XPClassInfo, IEnumerable, String[]) classInfo, objects, propertyPaths Enforces loading data for associated collections and delayed properties.
PreFetch(IEnumerable, XPMemberInfo, IEnumerable) objects, collectionInObjects, collectionsContent Enforces loading data for an associated collection.
PreFetch<T>(IEnumerable<T>, String, IEnumerable) objects, collectionInObjects, collectionsContent Enforces loading data for associated collections.
PreFetch<T>(IEnumerable<T>, String[]) objects, propertyPaths Enforces loading data for associated collections and delayed properties.