1. Open PowerDesigner, click File->new
2. Select the conceptual Data model and modify the model name.
3. Click the Entity tool in the Palette toolbar and create two entity in the workspace.
4. Double-click an entity. Enter Name,code in the pop-up entity properties. Where name is the name that is used when it is displayed, and code is the name that is used in the code.
5. Click attributes to create the corresponding attribute: Name: Display name, code: Name of the tag, data type: datatype, Length: Data length, Precision: Data precision, M: Required, P: Primary key, D: Display.
6. Select the primary key column and click the Create Identifier button in the tool column.
7. Enter name and code because it is the primary key column, so check primary identifier.
8. Use the 3-7 method to establish student entity.
PowerDesigner Basic Operations