Forward Engineering Project Models
You can generate forward engineering schema scripts and alter scripts for all or selected physical models of a project using the Project Explorer. You can also preview scripts and save them to a location in your project.
The required model must be loaded to be available in the forward engineering list.
To forward engineer project models, follow these steps:
- In the Project Explorer, do one of the following:
- To generate schema scripts, click Schema Script . Alternatively, right-click the project and click Forward Engineer > Schema Script.
- To generate alter scripts , click Alter Script . Alternatively, right-click the project and click Forward Engineer > Alter Script.
- Filter the required models in the list using the following options:
- Database: Use this filter to select all or database-specific models. For example, to select all SQL Server models, select SQL Server in the drop-down list.
- Model Name: Use this filter to select models based on name. For example, to select all models with "Target" in their name, enter Target.
- Parent Filter: Use this filter to select models based on parent model or folder. For example, to select all target models of the parent model "SourceModel1," select SourceModel1 in the drop-down list.
- Click Refresh.
- Select the required models for forward engineering.
- Click OK.
Depending on your selection, the Forward Engineer or Alter Script window appears.
The window provides a list of models in the project and their details such as model name, type, parent, database, file name, and path.
The list displays the filtered models.
Optionally, preview the script before generation using Preview button. You cannot select multiple models for preview.
Scripts are generated and saved to the Forward Engineering Script folder in your local project folder.
Copyright © 2024 Quest Software, Inc. |