bltoolkit icon indicating copy to clipboard operation
bltoolkit copied to clipboard

(Request) Event after LINQ materialization

Open Ravenheart opened this issue 8 years ago • 2 comments

Greetings,

We are using BLToolkit extensively in our application and would like a new feature.

Can you please add an event to the LINQ part of the library whenever the resultset is fully materialized. We need to know when a LINQ operation is complete.

Our goal is to get an event when any DB operation is complete and then we will decide if we want to dispose the connection or not.

Thank you.

Ravenheart avatar Jan 05 '18 16:01 Ravenheart

I don‘t think anyone will implement this, bltoolkit is replaced with linq2db!

And when you add ToList add the end of your query, when this command returns, everything is materialized...

jogibear9988 avatar Jan 05 '18 16:01 jogibear9988

We've rooted BLToolkit pretty deep in our project, the migration to linq2db is not gonna be easy.

We have our own wrapper around DbManager and need to know when a query has completed in order to run more stuff AFTER that, I know that .ToList materializes the data but that does me no good in this case.

Ravenheart avatar Jan 06 '18 17:01 Ravenheart