Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Child Business Object’s Business Rules not working
Hi All,
I have setup BusinessRules for both a Business Object and Child Business object. The Child Business object’s “ public override bool CheckRulesHook “ never gets called when I attempt to save any data. The parent business object’s rules are working fine. On the web page I have registered the child business object as follows:
Parent = (parent)this.RegisterBizObj(new parent);
Child = (child)this.RegisterBizObj(new child);
Parent.RegisterChildBizObj(child);
And have set the child biz object AutoCheckRules = true;
I’m using the web pages Save method, passing the parent biz object in.
Any help would be greatly appreciated .
-Douglas H.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement