In Entity Framework 6, is it possible to view the SQL that will be executed for an insert before calling SaveChanges?
using (var db =
use Interceptors for detail see this link
add this in to .config file