Microsoft
70-516 · Question #150
70-516 Question #150: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #150. The question stem and answer options stay visible for context.
Question
You ran a LINQ to SQL query to retrieve the products that you are going to mark as discontinued. After running the query, you looped through the returned products and set their Discontinued property to true. What must you do to ensure that the changes go back to the database?
Options
- ACall the Update method on the DataContext object.
- BNothing; the changes are sent when you modify the object.
- CCall the Dispose method on the DataContext object.
- DCall the SubmitChanges method on the DataContext object.
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.