Storm\Core\Mapping\ICollectionPropertyToManyRelationMapping::Persist PHP Method

Persist() public method

This method should be implemented such that it saves the relationships between the parent data and related data in the supplied transaction.
public Persist ( Transaction $Transaction, ResultRow $ParentData, array $RelationshipChanges ) : void
$Transaction Storm\Core\Relational\Transaction The transaction context
$ParentData Storm\Core\Relational\ResultRow The column data of the parent
$RelationshipChanges array The change in the relationship state
return void
    public function Persist(Relational\Transaction $Transaction, Relational\ResultRow $ParentData, array $RelationshipChanges);