private function loadManyToManyOverExtension( Criteria
$criteria,
ManyToManyAssociationField
$association,
Context
$context,
EntityCollection
$collection,
array
$partial ): void
{ // collect all ids of many to many association which already stored inside the struct instances
$ids =
$this->
collectManyToManyIds($collection,
$association);
$criteria->
setIds($ids);
$referenceClass =
$association->
getToManyReferenceDefinition();
/** @var EntityCollection<Entity> $collectionClass */
$collectionClass =
$referenceClass->
getCollectionClass();
$data =
$this->
_read( $criteria,
$referenceClass,
$context,