PowerDesigner-访问模型的业务规则



如何在C#中迭代powerdesigner模型的BusinessRules?这不起作用:

private static void importModelPackages(PdCDM.Model pdModel){
        foreach (PdCDM.ObjectCol curPDBusinessRule in pdModel.BusinessRules){ /*...*/ }
}
foreach (PdCommon.BusinessRule curPDBusinessRule in pdModel.BusinessRules) {
   /*...*/ 
}

另一种可能性:

PdPDM.ObjectCol col = pdModel.BusinessRules;
foreach (PdCommon.BusinessRule rul in col) {
   /*...*/ 
}

相关内容

  • 没有找到相关文章

最新更新