Child_OnDataPortalInvokeComplete

Child_OnDataPortalInvokeComplete

Old forum URL: forums.lhotka.net/forums/t/6151.aspx


ajj3085 posted on Wednesday, January 14, 2009

Hi,

I'm trying to do some post processing in a child object after it's Child_xyz method executes.  I only want to run the code when the child has deleted itself (Child_DeleteSelf).  The problem is that e.Operation always equals DataPortalOperations.Update.

Is there any reason that it's always set to Update, or would it be ok to update the child dataportal to the
proper value?

What I'm trying to acomplish is that even after the instance "deletes" itself, the instance sticks around (its not an instance contained in a colleciton, it's directly contained by the root).  So I'm calling MarkClean in the Child_OnDataPortalInvokeComplete.

Thanks
Andy

RockfordLhotka replied on Wednesday, January 14, 2009

I'll add this to the to-do list as something to evaluate.

ajj3085 replied on Wednesday, January 14, 2009

Thanks!

Copyright (c) Marimer LLC