When you define an entity object, it must have a primary key or use a RowID attribute (based on the table's ROWID). To do so, you must create a new attribute while you are defining your entity object in the Entity Object Wizard.
If you create a default entity object from a table with no primary key, a RowID attribute is automatically created as the primary key.
In the Attributes page of the Entity Object Wizard, click New from Table.
In the Create New Entity Attributes for Column dialog, select ROWID in the Available list and click > to move it to the Selected list.
Click OK.
The RowID attribute appears in the Entity Attributes list.