What you would do is create a list of IDs that you want to delete and then use the
Contains
statement. Here's an example:
List<int> list = new List<int>();<br />list.Add(5);<br />list.Add(9);<br />list.Add(58);<br />list.Add(7);<br /><br />var result = from r in db.Role where list.Contains(r.ID) select r;
I've just knocked this up in the Code Project textbox, so I apologise if the formatting isn't 100%.