Douglas,
>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.
Make sure you set the child business object's
AutoSaveOnParentSaved property to true.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com