Can i set primary key for attribute in UML class diagram? When i convert to ER Diagram, i have to set PK for each entity.
Product: Astah Professional
Yes, add <> stereotype to the attribute. It will be converted into a primary key.
For more information about the rule when converting UML Class diagram to ER Diagram, please refer to the TIPS below:
Hope this helps!