Try OpenEdge Now
skip to main content
New Information
Progress Developer Studio for OpenEdge : Support for Foreign Key Annotation
 

Support for Foreign Key Annotation

Progress Developer Studio for OpenEdge now allows you to add Foreign key as an annotation type when you add field-level annotations on the Edit Annotation page. The section that follows describes the details of the page.
The Edit Annotations page of the Define Service Interface wizard allows you to add the field-level annotations.
This page includes the following options:
Option
Description
Field annotations
TempTable
Displays the TempTables available for the class file. Select the required TempTable.
Field
Select the field that you want to add annotations for.
Annotation type
Select the type of annotation that you want to add. The valid values are Semantic type and Foreign Key.
Note: If you want to add multiple fields to the same Foreign key, edit the annotations in the business entity file manually.
Foreign Key Name
If you selected Foreign key, provide a name for the Foreign key field.
Parent Schema File
If you selected Foreign key, browse to the file that has the schema defined.
Note: Ensure that the selected file has file-level REST or DataObject annotations and Temp-table schema.
Parent Table
If you selected Foreign key, select the table that displays the TempTables defined in the selected schema file.
Parent field
If you selected Foreign key, select a field from the parent table that can be referred to as a parent for the selected field.
Finish
The Data Object interface annotations are added to the selected ABL applications and closes the Define Service Interface wizard.