Entity Framework. Delete all rows in tableDo not use TRUNCATE TABLE for productive systems. This is fast because it clears the table without saving the work to the transaction log. This breaks transaction log backups and the backups become inconsistent with database state until the next full backup. Use DELETE FROM instead.