I am coding a MVC 5 internet application and am using Entity Framework 6. I have an Asset object that can be referenced in many Image objects.
When I edit an Asset object, I need to update a DateTime object that is stored in all referenced Image objects. If there are 50 Image objects that need to be updated, can I do this in one database transaction rather than retrieving the Image objects, looping through each Image object, updating the DateTime object and then updating each Image object in the database?
Thanks in advance.