70-516 · Question #237
70-516 Question #237: Real Exam Question with Answer & Explanation
The correct answer is C. Dim parameter = New ObjectParameter("text", text & "%"). Entity SQL supports two variants of the SELECT clause. The first variant, row select, is identified by the SELECT keyword, and can be used to specify one or more values that should be projected Because a row wrapper is implicitly added around the values returned, the result of th
Question
Options
- ADim parameter = New ObjectParameter
- BDim parameter = New ObjectParameter("text", text & "%")
- CDim parameter = New ObjectParameter("text", text & "%")
- DDim parameter = New ObjectParameter("text", text & "%")
Explanation
Entity SQL supports two variants of the SELECT clause. The first variant, row select, is identified by the SELECT keyword, and can be used to specify one or more values that should be projected Because a row wrapper is implicitly added around the values returned, the result of the query expression is always a multiset of rows. Each query expression in a row select must specify an alias. If no alias is specified,Entity SQL attempts to generate an alias by using the alias generation rules. The other variant of the SELECT clause, value select, is identified by the SELECT VALUE keyword. It allows only one value to be specified, and does not add a row wrapper. A row select is always expressible in terms of VALUE SELECT, as illustrated in the following
Community Discussion
No community discussion yet for this question.