Stof’s rule of thumb

apriori:

  • owning side is the side that owns the foreign key
  • inversed side in a many to one relationship is the one side
  • owning side in a many to one relationship is the many side
  • the issue is that the setter of the inversed side needs to update the owning side otherwise you will not be able to use it yourself. And you cannot call the setter of the inversed side from the one of the owning side as it would make an infinite loop

    – Stof

    Leave a Reply

    Your email address will not be published. Required fields are marked *