This chapter is composed of :
In this section you will learn how to use Database Editor Foreign Key properties.
Select a Database Foreign Key, right-click and select :
Properties.
or
Double Click on a Database Foreign Key :
or
Double Click on the corresponding association :
Database Foreign Key properties.
Foreign Key Name.
This name should be unique among your Database Foreign Keys in your current Database Table.
Foreign Database Primary Key Table name.
Current Database Table name.
The Foreign Primary Key exists or does not exist.
This value is immutable.
If the Primary Key exists, the foreign could reference the Primary Key.
This value is mutable.
On Update Foreign Key behaviour.
This value is inherited from the Database Schema properties.
On Delete Foreign Key behaviour.
This value is inherited from the Database Schema properties.
Use the Add button.
Select the Foreign Database Primary Column you require to be part of your current Database Foreign Key definition.
The Foreign Primary key Column is added to your Foreign Key Columns definition array.
Then select the local Database Column mapped to the Foreign Primary Key Column.
Select a Database Column.
Then use the Remove button.
The selected Database Column will be removed from your current Database Foreign Key.
Once you have decided to update your Database Foreign Key, click the OK button.
The update will be done.
A detailed output will be displayed in the DatabaseConsole.