RelationshipLoading extension
Batch eager loading with bounded parameter lists. Results use the context's identity map and preserve local changes on already tracked entities.
- on
Methods
-
loadCollections<
C, P> (ForeignKey< C, P> relation, Iterable<EntityEntry< parents) → Future<P> >Map< EntityEntry< >P> , List<C> > -
Available on DbContext, provided by the RelationshipLoading extension
Loads children forparentsin batches. -
loadReferences<
C, P> (ForeignKey< C, P> relation, Iterable<EntityEntry< children) → Future<C> >Map< EntityEntry< >C> , P?> -
Available on DbContext, provided by the RelationshipLoading extension
Loads parents forchildrenin batches.