# Ways to Edit Entity Attributes

You can edit entity attributes in the

- Entity Object Editor

- Attribute Editor

The Attribute Editor is where you can specify properties at the attribute level.

#### To use the Attribute Editor:

1. In the Workspace view of the Navigator, select an entity object, and then right-click an attribute in the Structure pane and choose Edit attribute.

2. In the Entity Attribute page, specify attribute settings. Click Next.

   In general, if you are performing reverse generation, you don't want to change the primary key, mandatory, database column name, column type, and unique settings that were received from the table. For forward generation, the primary key, mandatory, persistent, database column name, column type, and unique settings are used to generate tables.

3. In the Validation page, add, edit, or remove validation rules. Click Next.

   New rules can be applied at the entity object level, attribute level, or both. Rules can be reordered within a level, which is useful when you have multiple validation rules per attribute and want to control the order of rule firing. (entity attributes only)

4. In the Property page, you can create new properties, add and edit values for existing properties, and delete properties. Click Next.

5. Click Finish to close the editor.