|
Group: Forum Members
Posts: 33,
Visits: 2
|
Hi Montford,
I understood your requirement. What you have to do is to manually create custom ERM shape for each table, when the user drags it into the drawing view. You can easily do this by using code similar to:
NErmShape shape = new NErmShape(0, 0, 10, 10); shape.CreateFromTable(dataTable);
Where dataTable is the table that the user has dragged into the drawing view. Next you can provide the user with the ability to connect the tables using Erm connectors.
Best Regards, Pavel Vladov
|