I have a list of objects, for example
list<Employee> Employees =
[
{
id:1,
name: Luke,
age: 5
},
{
id:2,
name: Elizabeth,
age: 15
},
]
How can I perfom a bulk update, should I use a foreach, or is there a way to perfom the update in a single line, the objets will have more properties and every property may change