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

How to execute query and still be able to use that query #484

Open
craftyweb opened this issue Apr 4, 2023 · 0 comments
Open

How to execute query and still be able to use that query #484

craftyweb opened this issue Apr 4, 2023 · 0 comments

Comments

@craftyweb
Copy link

Hello,

I'm using Orchard Core and I'm in a situation that I have two queries and I need the results of the first query to determine which results of the second query can be shown.

image

When I execute the code above, the last line is skipped because of the .ListAsync() method above.

Is there a possibility to execute a query and then be able to use that same query afterwards or is there a possibility to copy a query to remove the reference to the original query?

Thanks!

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

1 participant