Microsoft
70-516 · Question #231
70-516 Question #231: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #231. The question stem and answer options stay visible for context.
Question
You use Microsoft .NET Framework 4 to develop an application that uses LINQ to SQL. You create a data model named AdvWorksDataContext, and you add the Product table to the data model. The Product table contains a decimal column named ListPrice and a string column named Color. You need to update the ListPrice column where the product color is Black or Red. Which code segment should you use?
Options
- ADim colorList() As String = New String() {"Black", "Red"}
- BDim dc As AdvWorksDataContext =
- CDim dc As AdvWorksDataContext =
- DDim dc As AdvWorksDataContext =
Unlock 70-516 to see the answer
You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.