Question: are underlined in an er diagram?
Answer: Primary Key: An underline to the attribute name is put to represent the primary key. The key attribute of the weak entity is represented by dashed underline. Relationship: A diamond shape is used to show the relationship between the entities.