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.27k stars 318 forks source link

Add extension points before and after a Future query is run. #805

Closed medkg15 closed 3 months ago

medkg15 commented 3 months ago

Add optional extension points to QueryFutureManager before/after a QueryFutureBatch is run. This would enable observing and/or modifying the DbCommand containing the batch of queries.

JonathanMagnan commented 3 months ago

Hello @medkg15 ,

Thank you for your contribution. Adding those events are indeed a very good suggestion.

The PR will be merged and should be available on July 13 (next Tuesday).

Best Regards,

Jon