UpdateAll by Ids that are contained in objects to update

17 views
Skip to first unread message

Artur Siwiak

unread,
Apr 20, 2018, 8:13:58 AM4/20/18
to Simple.Data
Hello,
So I'm struglling with such problem: I have a bunch of records in array. Those objects have and id column and I want to update only those that have id from array of objects. What I want to achive is something like this:
_db.SomeTable.UpdateAll(Id: IdFromArrayOfObjects, arrayOfObjectsWithId).

Id is contained in objects in array of objects. Is it possible to do such update? And how to achive such thing?

Thank you
Artur
Reply all
Reply to author
Forward
0 new messages