Method LoadReferencesAsync<TProps, TRef>(RedbObject<TProps>, Func<TProps, IEnumerable<RedbObject<TRef>?>?>, CancellationToken)
Loads a COLLECTION of reference stubs under a loaded parent in ONE batch query - the
antidote to N+1 on lazy collections. Already-loaded references are skipped; a stub whose
target left for the trash gets null Props, not an exception.
public Task LoadReferencesAsync<TProps, TRef>(RedbObject<TProps> parent, Func<TProps, IEnumerable<RedbObject<TRef>?>?> references, CancellationToken cancellationToken = default) where TProps : class, new() where TRef : class, new()