Number of questions 1,751
Number of tests completed 250,977
Number of questions answered 3,748,390
Number of registered users 19,125
Sign In | Register
Skip Navigation Links
Question: A LINQ to SQL query can include calls to your own local methods:
Answer1: In Where clauses only
Answer2: In the final projection only
Answer3: Anywhere in the query
Answer4: Not at all
Answer: In the final projection only

Explaination: In a LINQ to SQL query, you cannot include calls to your own local methods (or unsupported Framework methods) in any place other than the final projection. If you try to do otherwise, one of two things will happen: LINQ to SQL will throw an exception when the query executes ("method XYZ has no translation to SQL") the query will be executed locally from that point on.

Correctly answered: 405
Incorrectly answered: 902
Terms of Use Ver. 2.0.6783.38332