EntityFramework-Plus icon indicating copy to clipboard operation
EntityFramework-Plus copied to clipboard

how to log sql script in development environment.

Open netcore-jroger opened this issue 5 years ago • 2 comments

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

  • EF Core version: 3.0
  • EF Plus version: 3.0.13

netcore-jroger avatar Oct 16 '19 06:10 netcore-jroger

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

JonathanMagnan avatar Oct 16 '19 13:10 JonathanMagnan

Is there some hacking skills to do?

netcore-jroger avatar Oct 17 '19 05:10 netcore-jroger