What happens when child entity updation fails or parent entity updation fails RRS feed

  • Question

  • I have a small  question here.  

    Suppose I am updating a child entity or parent entity using C# code, and my update code is failed for parent or child. What will happen to other entity (i.e. child or parent). Will everything be roll-backed or we have to do it explicitly.

    Thanks Regards


    Thanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.

    Wednesday, December 18, 2013 11:16 AM


  • Hi Prashanth,

    It won't be rolled back (unless it is all happening through plugin which supports transaction).

    You can also consider using ExecuteMultiple request if you have multiple child entities to be updated, although it won't be in transaction, but there are few properties in it that can be helpful.


    Shraddha Dhingra


    Thursday, December 19, 2013 8:18 AM