如何通过powerdesigner模型的BusinessRules迭代C#? 这不起作用:
private static void importModelPackages(PdCDM.Model pdModel){
foreach (PdCDM.ObjectCol curPDBusinessRule in pdModel.BusinessRules){ /*...*/ }
}
答案 0 :(得分:0)
foreach (PdCommon.BusinessRule curPDBusinessRule in pdModel.BusinessRules) {
/*...*/
}
另一种可能性:
PdPDM.ObjectCol col = pdModel.BusinessRules;
foreach (PdCommon.BusinessRule rul in col) {
/*...*/
}