Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child Business Object’s Business Rules not working
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00937845
Message ID:
00938989
Views:
27
Kevin,

The child business object’s rules are still not working. When I test the web application with all the parent’s rules passing, the child’s rules never get called. I have more then one child biz object for the parent, could that cause the problem?

The method below is being called in the child biz object:
protected override OakLeaf.MM.Main.Business.mmBusinessRule CreateBusinessRuleObject()
{
	return new suggkeyRules(this);
}
But this method never gets called:
public override bool CheckRulesHook(DataSet ds,  string tableName)
{
  AddBrokenRule("test");

  if(ds != null)
  {
    // CHECK THE NUMBER OF KEYWORDS IN EACH CATEGORY(iidSetLst)
    validateNumKeywordsForEachCategory(ds,tableName);

    DataRow row;
    for(int i = 0; i < ds.Tables[tableName].Rows.Count; i++)
    {
        row = ds.Tables[tableName].Rows[i];

    }
  }
  return this.ErrorProviderBrokenRuleCount == 0;
Any ideas?
Thanks,
-Douglas H.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform