Number of questions 1,751
Number of tests completed 249,171
Number of questions answered 3,726,767
Number of registered users 19,071
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
Answer5:
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.
Link:

Correctly answered: 403
Incorrectly answered: 894
Terms of Use
contact@quiznetonline.com Ver. 2.0.6783.38332