OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 8 years, 4 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #25069

    Geoffroy Cochard
    Participant

    Hi,

    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

    Geoffroy

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

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

Back to top