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

Complex query, like in ParseLambda_Complex_2, internal could only be used once #110

Closed
jogibear9988 opened this issue Oct 27, 2017 · 2 comments
Labels

Comments

@jogibear9988
Copy link
Contributor

jogibear9988 commented Oct 27, 2017

If you do a complex query like this, and want to use the same internal like the "x" in Where(x=> only once, because we add the "x" to the internals dictionary, but never remove or overwrite it.

I think we should increase a Level of the internal with a OpenParam, and Decrease it with CloseParam, and when the level is lower then "0" we remove it

@StefH
Copy link
Collaborator

StefH commented Jan 6, 2018

Can you provide a detailed example on this issue please ?

Do you mean something like:
.Where(x => x.Value > 0 && x.Value < 10);

@jogibear9988
Copy link
Contributor Author

jogibear9988 commented Jan 6, 2018

No, smth like:

  .Where(x => x.Value > 0).Where(x => x.Value < 10);

or

 .Where(x => x.Value > 0).Any(x => x.Value < 10);

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

No branches or pull requests

3 participants