It is very often required to execute DELETE FROM SQL statement, although it's possible to use typeof and nameof operators without major performance hit, it still would be nice to support those statements with LINQ.
Something like:
// Delete all objects from Person table.
Objects<Person>.Delete();
// Delete objects from Person table if Name equals to test.
Objects<Person>.Delete(x => x.Name == "test");
It is very often required to execute
DELETE FROM
SQL statement, although it's possible to usetypeof
andnameof
operators without major performance hit, it still would be nice to support those statements with LINQ.Something like: