Microsoft
70-516 · Question #15
70-516 Question #15: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #15. The question stem and answer options stay visible for context.
Question
You use Microsoft Visual Studio 2010 and the Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses DataContexts to query the database. You define a foreign key between the Customers and Orders tables in the database. You need to ensure that when you delete a customer record, the corresponding order records are deleted. You want to achieve this goal by using the minimum amount of development effort. What should you do?
Options
- AOverride the Delete operation of the customer entity.
- BRemove the foreign key between the Customers and Orders tables.
- CUse the ExecuteDynamicDelete method of the DataContext object.
- DModify the foreign key between the Customers and Orders tables to enable the ON DELETE
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.