on 10-07-2020 8:42 AM
I have a SQL Server database I am reverse engineering to a physical model. Several of the tables in my database have extended properties for various details about the table. For example, "Source Table" & "SSIS Package". My extended properties are not showing up anywhere in my generated physical model. Looking at the DBMS Properties for SQL Server I can see references to extended_properties but it is assuming the name of the extended property to be "MS_Description". My extended properties will always have names other than "MS_Description". Is it possible to customize PowerDesigner such that I could add a new tab under Table properties to maintain extended properties? Ideally, using name/value pairs from this custom tab, PowerDesigner would include the appropriate sp_addextendedproperty statements as part of the table create/alter statement.
There are two levels of your problem. One is working with MS SQL extended properties in your model, second is how to reverse-engineer these values from DB or generate these values to DB.
First level is quite easy to solve, you just need to define Extended Attributes with the same names as extended properties in MS SQL are. So you need to create extended attributes for metaclass Table. In order to do that, follow the steps below:
Second level is more complex task.
I hope this will help you proceed further. In case you need more help, don`t hesitate to ask. I`ve been creating extensions/modifications for PD for 15 years and trust me, there is no better CASE tool you can choose for implementing modifications like yours.
Regards,
Ondrej
P.S. Next time it would be better if you enter version of MS SQL and your exact version of PD too. Usually it helps others to give better answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.