Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Create a Trigger
How to
To create a Trigger
Step |
Action |
See also |
---|---|---|
1 |
Locate the required table in either a diagram or the Project Browser.
|
|
2 |
Right-click on the table and select the Operations context menu option. The Operations dialog displays.
|
|
3 |
Add an operation with a name such as TRG_OnCustomerUpdate. The TRG_ prefix is optional, but helps to identify the operation.
|
|
4 |
In the Stereotype field select trigger.
|
|
5 |
Click the Save button.
|
|
6 |
Select the trigger operation, then the Behavior tab.
|
|
7 |
In the Initial Code field, enter the entire trigger code including the CREATE_TRIGGER statement.
|
|
8 |
Click on the Save button.
|
|
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2014 Sparx Systems Pty Ltd.