database design - Anchor modeling - tie: make first role? -


short question related official anchor modeler.
while modeling ties can setup roles properties, 1 of them "first role".
what "make first role" option do?
see in xml/sql file swaps roles order within tie.
purely technical setting or there business case it?

a tie represents relationship, in anchor modeling set of roles on type level. sets have no ordering, example {isleasing, thevehicle, withagreement} = {withagreement, thevehicle, isleasing}, names of ties represented strings in our naming convention. create string, order must imposed onto set, , "make first role" way rearrange order. syntactic sugar, , semantics of tie remains same regardless of order of roles in name. so, mentioned example, tie named pe_isleasing_ve_thevehicle_ag_withagreement same tie 1 named ag_withagreement_ve_thevehicle_pe_isleasing. tool prevent creating duplicate ties, should try so. because of way read natural language orderings easier interpret others though, "business case" changing it.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -