PowerDesigner-访问模型的业务规则
本文关键字:业务 规则 模型 访问 PowerDesigner- | 更新日期: 2023-09-27 18:24:19
如何在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) {
/*...*/
}