Ensuring Progress Primary Keys (PKs) are NOT NULLABLE
While Progress does not formally have Primary Keys defined per table, it does have INDEXes. For many purposes, including Entity Frameworks, all fields comprising the INDEX must be set not-nullable, or "mandatory" in Progress parlance. Use the following procedure to check the relevant fields:
- Log in to the machine that hosts your Progress DBMS.
- Navigate to the root of the Progress installation.
- Use the
su
command to switch to your local Progress user.
- Execute the
.profile
associated with the Progress user.
- Launch the
_progres
utility.
- Use the Tools menu to access the Data Dictionary utility.
- Expand the Database menu and use Connect to connect to the target database.
- Repeat the following steps for each field in each table's index.
- Expand the Schema menu and select the Index Editor.
- Select the target table.
- Review the fields that comprise that table's index.
- Select
GoField.
- Select Modify.
- Navigate to the field that you want to check.
- Look for the field's Mandatory property.
- Ensure the value passed to Mandatory is yes, and hit F4 to save your changes.
- Expand the Schema menu and select the Index Editor.
- Exit the utility, and proceed to your other tasks.