Should Update be called on child which isn't dirty? #3145
Unanswered
ajohnstone-ks
asked this question in
Questions
Replies: 1 comment 2 replies
-
I thought that too. Well, to be precise, I think it always calls the collection's method, and the default implementation in csla/Source/Csla/BusinessListBase.cs Line 922 in e529159 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm investigating an issue I'm having with one of our business objects. It stems from the fact that the [UpdateChild] method is being called on the child collection even though the collection and all of its children are not dirty.
I had thought that FieldManager.UpdateChildren would not call the Update method for anything unless the instance though it was dirty, but that's what's happening here and causing our bug.
We're using Csla 5.4.2 on .net framework.
Beta Was this translation helpful? Give feedback.
All reactions