Question

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%);
    ...
Était-ce utile?

La solution

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");
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top