I am trying to figure out if there is a way to update multiple rows at once with Entity.
For now I am using Linq2Sql SubmitChanges which will perform an update row by row:
c.PROPERTYONE = valueOne;
c.PROPERTYTWO = valueTwo;
...
dataContext.SubmitChanges();
In my case, valueOne and valueTwo will most likely change for each iteration.
I would like to know if it's possible to store for example, up to 1000 rows and update them at once.
I know how to do it with inserts (by getting the DbContext instance, the appropriate table, calling the Add function then SaveChanges) but I'm struggling in finding the equivalent for updates.
Thanks in advance!