I have a List of an Entity for e.g List of Customer entity.
I am using a Bulk update as context.Customer.UpdateRange(Customer);
My requirement is I need to increment an Existing Column value with a new value. for e.g Inside Customer table Qty column needs to be updated as Qty = Qty + current_Value.
I can do this by looping through the Customer List and update the column one by one customer object. But I wish to do this while bulk update (UpdateRange)
The technology I am using - ASP.NET Core, MVC Core, EF Core