Hi,
I am trying to update multiple records by using ExecuteMultipleRequest.
But when I try to change the EntityState, its throwing an error saying "The entity is read-only and the 'EntityState' property cannot be modified. Use the context to update the entity instead."
entity.EntityState = EntityState.Changed;
I know it can be updated by using context.UpdateObject but I want to use ExecuteMultipleRequest so that I can update multiple records in one go.
Can anyone please suggest me any way to make EntityState readable property?
Thanks