How I can quickly remove all rows in table using Entity Framework?
I am currently using:
var rows = from o in dataDb.Table select o; forea
In EFCore (version i am using is 3.1) you can use the following to remove all rows -
context.Database.ExecuteSqlRaw("TRUNCATE TABLE [TableName]");