Reverse Engineering in powerdesign

Source: Internet
Author: User

Powerdesginer is a commonly used database modeling tool. We do not know how to use this tool, but our group has always been using CDM-> PDM-> real dB. But there is no really waterfall development, and there are basically repeated iterations. So after we change the database structure in the development phase, you may want to reverse synchronize the changes to the design model PDM and CDM. Note:
(1) The Model files designed by powerdesginer are also inSource codeUnder the management of the manager, we hope to have a controlled version change process;
(2) conversion efficiency.
Therefore, we do not want to generate a new PDM and CDM every time we change the database structure. Fortunately, the reverse engineering capability of powerdesigner is still very powerful. The following is an example of PDM:
(1) You can choose to generate a new PDM or modify an existing PDM (which is exactly what we need .).
(2) You can select to use a script file (supporting any number of script files, but pay attention to the sequence of script files. For example, the script for creating a table must be placed before the script for creating a trigger, because PD executes the scripts in order) or ODBC data source.

If you want to use reverse engineering to update the PDM, enter the editing status of any PDM and click the following menu:

The conversion from PDM to CDM is similar, but also enters the editing state of a certain PDM first (I personally think this is a depressing point in the PD design. The conversion between models should be a common concept. No matter when I click the corresponding menu, I will provide a dialog box for setting conversion parameters, let me set the target and source. But PD is very rigid. If you want to generate CDM from PDM, You need to execute commands on the PDM operation status. The rules are clear but too strict .), Select Tools> Generate conceptual data model.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.