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
Post a Comment