Reputation: 11
I'm pretty new to LINQ (and NHibernate's LINQ provider)
I have a query that joins 3 tables in a grandparent-parent-child using many-to-one mappings.
The actual SQL NHibernate is throwing out is using old-school FROM table1, table2, table3 join syntax.
Is there a way to make it use ANSI joins instead? (I see that using Fetch() will do this, but the syntax isn't exactly standard LINQ stuff)
Cheers, Mark
Upvotes: 1
Views: 352
Reputation: 52735
No, it's not possible.
Keep in mind that, while the ANSI syntax is cleaner and allows for easier outer joins, it's semantically equivalent to the "old one" for inner joins, so you shouldn't care.
Upvotes: 1