I have a few reverse engineered databases, which do not contain a single relationship. A few are oracle db’s and others are ms sql db’s.
I see the names of the attributes at least make sense as to which entities are related. I’ve dabbled a bit, but just cannot get the hang of creating foreign keys with a script.
Table1 -> Primary Key Att = Table1_ID
Table2 -> Contains an Att called Table1_ID already
I want to just create a relationship between these two with the Table1 being the parent and Table2 being the child.
Then I can easily map the database for future use.
Thank you in advance for the assistance.
When running this line of code…
var lRel = Model.CreateNewObject(2004);
I get the following error…
Source: CS3 - Internal error
Description: Access violation at address 00E5BF57 in module ‘TDM.exe’. Read of address 00000000
Message was edited by: RudiL