Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Request) Event after LINQ materialization #404

Open
Ravenheart opened this issue Jan 5, 2018 · 2 comments
Open

(Request) Event after LINQ materialization #404

Ravenheart opened this issue Jan 5, 2018 · 2 comments

Comments

@Ravenheart
Copy link

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.

@jogibear9988
Copy link

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...

@Ravenheart
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants