Pregunta

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%);
    ...
¿Fue útil?

Solución

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");
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top