CSLA 3.5 Managing Child ObjectsCSLA 3.5 Managing Child Objects
Old forum URL: forums.lhotka.net/forums/t/4649.aspx
wentwj posted on Wednesday, April 09, 2008
I've been working with the new way CSLA 3.5 automatically manages child objects using the FieldManager. Anytime a child object is changed it calls the Child_PropertyChanged or Child_ListChanged functions which in turn call OnPropertyChanged.
My issue is that I really also want checkRules to be run for all validation rules set up for the child object. Is there a reason you wouldn't want to check the validation rules on the child property when the child object is changed? I would except that on the child object changing, all validation rules set up to run against the child objects would also run.
Does it make sense for the Child_PropertyChanged and Child_ListChanged to check the validation rules set up to run against the child property? I was wondering what the thought was on this.
Copyright (c) Marimer LLC