I saw "Ole Automation" examples of creating Physical Database Model elements, but there is no examples of opening an existing DB model. Can someone please help me? My expectations are similar to this pseudo-code:

    PdCommon.Application pd;
    pd = PdCommon.OpenApplication(%Path%);
    ...
有帮助吗?

解决方案

pascal was right.

 PdCommon.Application    pdApplication;
 PdPDM.Model             pdModel;

 pdApplication = new PdCommon.Application();
 pdModel = (PdPDM.Model)pdApplication.OpenModel(@"C:\SVN\RAS_DB_Control\trunk\Northwind - MS\Model\Northwind.pdm");
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top