Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child Business Object’s Business Rules not working
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00937845
Message ID:
00938989
Vues:
26
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform