{"id":281,"date":"2019-11-01T14:02:55","date_gmt":"2019-11-01T14:02:55","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/project-hygiene\/association-name-containing-both-connecting-entities\/"},"modified":"2022-06-15T06:52:33","modified_gmt":"2022-06-15T06:52:33","slug":"associationnameentity","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/project-hygiene\/associationnameentity","title":{"rendered":"Associations should contain the name of the associated entities"},"content":{"rendered":"\n<p>It is a good practice to include the name of the associated entities in the name of the association. For example, the default generated name satisfies this rule. The order does not matter. It is allowed to have additional information in the association name so long as it contains the name of the associated entities.<\/p>\n\n\n\n<p><strong>Noncompliant example:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"167\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-78.png\" alt=\"\" class=\"wp-image-1041\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-78.png 560w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-78-480x143.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 560px, 100vw\" \/><\/figure>\n\n\n\n<p><strong>Compliant example:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"545\" height=\"136\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-79.png\" alt=\"\" class=\"wp-image-1042\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-79.png 545w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-79-480x120.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 545px, 100vw\" \/><\/figure>\n","protected":false},"featured_media":0,"parent":100,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-281","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/281"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":3,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/281\/revisions"}],"predecessor-version":[{"id":1043,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/281\/revisions\/1043"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/100"}],"next":[{"title":"Attributes names should not start with their entity name","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/project-hygiene\/attributenameentity","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/617"}],"prev":[{"title":"After startup project microflow should be named properly","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/project-hygiene\/projecthygieneprojectafterstartupname","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1533"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}