c# - LINQ2SQL - More Questions on when a Cross join with where clause is emitted instead of Inner Join -
This is a question of two questions and instead of trying to find a solution to the problem, for educational purposes.
I have already seen it and it is feeling that it is similar to my question
But I will tell you more information from LINQ and SQL Gurus the'm hoping Why LINQ2 SQL is designed to internally join rather than cross connect Additionally, that it can tell the link to the SQL server execution plan (or more ), Why these two questions Arises similar plan ? What I think, this means that the performance of questions is the same. I have created a small example that runs two LINQ expressions on my database which generates these two separate SQL queries. For those people who do not want to bother, here is my example DB diagram:
Comments
Post a Comment