How do I clear all the rows from a table using EntityFramework Core?

前端 未结 0 1310
情话喂你
情话喂你 2020-12-09 10:07

New to EntityFramework Core. How do I clear all the rows in a table?

I searched around and found the following solution:

_context.Database.ExecuteSqlCo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题