-
Notifications
You must be signed in to change notification settings - Fork 210
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
Fluent Query Multiple Join #262
Comments
The syntax isn't as pretty, but this Linq creates a proper SQL statement:
I'll have to assume the bug lies within that fluent InnerJoin method. |
Thanks for taking the time to come up with a workaround. I ended up finding a few other spots where the fluent query system was not as robust as in 2.1, and so as not to have to redo significant parts of my repository layer, I've gone back to 2.1. Although I enjoyed the T4s so much that I modified them to work for 2.1. I won't close the issue as I believe it is still relevant, however I won't be trying to fix it. |
@Tho77, I'm looking for alternatives to Subsonic 3 due to performance issues. Are the T4 templates you created open source and hosted somewhere? |
I'm trying to do a multiple join to a second column that is referenced from the first join. So in effect find out which stores the product is in.
The problem is that SubSonic is trying to join the Store table directly to the Product table. I see in the source the comment:
So every join is going to be attempted on the Product table. 2.1 had the option of passing in qualified names for the join. Is there something I'm missing as a way to do this?
The text was updated successfully, but these errors were encountered: