We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
All Delete[...] methods return the number of records deleted.
Simple.Data:
db.Users.DeleteById(1);
SQL:
DELETE FROM [Users] WHERE [Users].[Id] = @p1
db.Users.Delete(Id: 1);
// Caution here! db.Users.DeleteAll();
DELETE FROM [Users]
db.Users.DeleteAll(db.Users.Age > 42);
DELETE FROM [Users] WHERE [Age] > @p1