You can define generation and reverse engineering scripts for an extended object
- Right-click the Script/Objects category, and then select Add Items from the contextual menu to open a Selection dialog that lists all the objects available in the model.
- Select your new extended object in the list, and then click OK to add it to the list of objects.
- Right-click the new object entry, and then select Add Items from the contextual menu to open a Selection dialog that lists all the script items that can be added to an extended object.
- As a minimum, to enable the generation and reverse engineering of the object, you should select the following items:
-
Create
-
Drop
-
AlterStatementList
-
SqlAttrQuery
-
SqlListQuery
- Click OK to add these script items to your object. You will need to enter values for each of these items. For more information, and guidance on syntax, see Common object items.
- Your object will now be available for generation and reverse engineering. You can also control the order in which this and the other objects will be generated. For more information, see GenerationOrder – customizing the order in which objects are generated.