I have the following DB: Posts which have an Id, Tags also with Id, and TagsToPosts table which have T
Posts
Id
Tags
TagsToPosts
T
PLINQO supports batch delete operations without retrieving the entities first.
var delete = from t in TagsToPost select t).Except(from nt in newList select nt, new TagComparer())
context.Tags.Delete(delete);
http://plinqo.com