سؤال

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