HI WELCOME TO KANSIRIS

Delete multiple Items from a List of Id's using Entity Framework

Leave a Comment

 



DealBazarEntities.Restaurants.RemoveRange (DealBazarEntities.Restaurants.Where(r => IDs.Contains(r.ID)));

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.