Defining Generation and Reverse Engineering Scripts for an Extended Object

You can define generation and reverse engineering scripts for an extended object

  1. 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.
  2. Select your new extended object in the list, and then click OK to add it to the list of objects.
  3. 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.
  4. As a minimum, to enable the generation and reverse engineering of the object, you should select the following items:
    • Create

    • Drop

    • AlterStatementList

    • SqlAttrQuery

    • SqlListQuery

  5. 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.
  6. 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.