Menghapus data dari tabel
context.Database.ExecuteSqlCommand("TRUNCATE TABLE [TableName]");
Amused Antelope
context.Database.ExecuteSqlCommand("TRUNCATE TABLE [TableName]");