Entity Framework 6 - How can I view the SQL that will be generated for an insert before calling SaveChanges

前端 未结 4 1142
余生分开走
余生分开走 2021-02-02 08:19

In Entity Framework 6, is it possible to view the SQL that will be executed for an insert before calling SaveChanges?

using (var db =          


        
4条回答
提交回复
热议问题