.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

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.