-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Join with dependent subquery? #43
Comments
If possible, rebuild your question into a unit-test which can be included in the tests. |
That would be difficult as I don't know how to do it. I'll try again though, this is perhaps a simpler example linq query (that works) that I want to do, but can it be done using the join extension using the string parameters? IQueryable a = from zz in dyn2 |
I've downloaded your source and managed to write an example in the code similar to your join test. Here it is:
|
It's not possible to use external sub-query in a dynamic query. |
Question:
Is it possible to do a dynamic join with a dependent sub-query? I'm trying to do the equivalent of this MySQL SQL statement (would be outer cross apply on SQL Server) where I want to join only to a single value on another table where there may be multiple rows that match by certain filter and order criteria:
I thought something like this might work (different tables to above):
But it doesn't like the Max(inner.SQL_RFA)
The text was updated successfully, but these errors were encountered: