This content has been marked as final. Show 4 replies
not sure I understand the use case. Do you want to tell if a parent entity has at least two child EO and if it doesn't don't commit, or what does "if I'm missing a child" mean?
If my assumption is correct then a variation of the following code snippet should do it
Yes thats sort of what I mean.
The problem here is that I can use variations of the code you've linked to change attributes of the parent and child EO and even the ordering of the post but there does not seem to be a method to say -
"Please do not commit this row or any of its children."
I'd like to 'mark' these rows as "Do not post".
Thanks - that worked.
I had to put that code in the parent EO and the child EOs (in doDML).
I am concerned about the state of the row after the commit cycle.
Is the row considered posted/committed data or not? And will ADF be able to deal with the inconsistency?
Edited by: zebonsoft on Jan 21, 2013 7:01 AM