Class PreloadProfile
Computes the metadata-driven default preload paths for an entity type: the relationships a scaffolded view is expected to render, so they load with the main query instead of lazily per row or field.
public static class PreloadProfile
- Inheritance
-
PreloadProfile
- Inherited Members
Methods
Collect(IEntityInfo, PreloadPurpose)
The reference relationships shown on metadata's scaffolded purpose surface.
The List profile is a superset of the Form profile,
so an entity opened from a list finds its form data already loaded. Paths are not security-filtered:
queries drop unauthorised segments themselves, and the list pipeline removes admin-only paths for non-admins.
public static IReadOnlyCollection<RelationshipPath> Collect(IEntityInfo metadata, PreloadPurpose purpose)
Parameters
metadataIEntityInfopurposePreloadPurpose