I\'m trying to perform a DELETE using LINQ that will generate a single query.
Here\'s how I\'m doing it:
// Northw
Install Entity Framework Extended Library (PM> Install-Package EntityFramework.Extended)
Import EntityFramework.Extensions in your code
Delete records specified by inner query
context.Orders.Where(o=>o.User_ID == 1).Delete();
Deletes all records inside Orders with userID = 1