Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM OroCRM – Programming Questions Add inversedBy methods to existing OROCrm entity

This topic contains 3 replies, has 2 voices, and was last updated by  Geoffroy Cochard 2 years, 2 months ago.

  • Creator
  • #53920

    Geoffroy Cochard


    I’m testing OROCrm solution and the possibilty to extend it.
    I’ve got a custom entityA who has a manyToOne relation to OroCRMContact. The goal is to have all methods / relation in the ownerSide of my Doctrine entityA (not complex as Doctrine management) and all methods in the inverseSide too (OROCrmContact).

    My test : use extendExtension while migration:load

    In this test :
    i can’t control naming convention of foreignKey and onDelete default parameter too and synchronize method

    Should i use inverse method as

    But its not a doctrine best practice to define inverseSide.

    Or use define entityA as Target Associations (likes notes / activities) ?

    Thanks for your advices


Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.