zzzprojects / EntityFramework-Plus

Entity Framework Plus extends your DbContext with must-haves features: Include Filter, Auditing, Caching, Query Future, Batch Delete, Batch Update, and more
https://entityframework-plus.net/
MIT License
2.26k stars 318 forks source link

how to log sql script in development environment. #538

Open netcore-jroger opened 5 years ago

netcore-jroger commented 5 years ago

Description

when use Z.EntityFramework.Plus.EFCore how to log sql script to terminal in development environment. in development environment when I use Microsoft.EntityFrameworkCore, I can find sql script in terminal.

Further technical details

JonathanMagnan commented 5 years ago

Hello @netcore-jroger ,

At this moment, we do not use yet Interceptor introduced in EF Core 3.x

However, we will look if that's possible.

Best Regards,

Jonathan


Performance Libraries context.BulkInsert(list, options => options.BatchSize = 1000); Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation Eval.Execute("x + y", new {x = 1, y = 2}); // return 3 C# Eval FunctionSQL Eval Function

netcore-jroger commented 4 years ago

Is there some hacking skills to do?