on 2014 Dec 15 12:21 PM
I have two related PowerDesigner physical data models, Base and Views. Base has all the base tables and views for an Oracle schema in it. I am creating a smaller model, Views, by replicating objects from Base to Views. I accidentally replicated in some database views without first replicating in the underlying base tables. This has resulted in some tables being represented by shortcuts in the Views model. How can I replace shortcuts with replicas in the target Views model?
Using PowerDesigner 16.1 EBF9 on Windows 7.
From the Help of 16.1:
___________________
Note: You cannot transform a
shortcut into a replica, or vice versa. When choosing to create a shortcut or
replica, you should identify how you want to use it. For example, if you want to
reuse an existing table in your PDM, you should create a:
______________________
But You can:
iterate thru all shortcuts,
identify the parent object
create a replica if not existing
replacing it with a replica you create
by vbs
to create a replica by code:
dim theReplica : set theReplica = theTable.CreateReplica(model)
theReplica.setnameandcode DokumentAlias, DokumentAlias
dj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
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.