nerdexam
Microsoft

70-516 · Question #168

70-516 Question #168: Real Exam Question with Answer & Explanation

Sign in or unlock 70-516 to reveal the answer and full explanation for question #168. The question stem and answer options stay visible for context.

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the Entity Framework Designer to create the following Entity Data Model. The application contains a class as shown in the following code segment. (Line numbers are included for reference only.) 01 public class MyBaseClass : EntityObject 02 { 03 .... 04 } You need to ensure that all generated entities inherit from MyBaseClass. What should you do?

Options

  • AChange MyBaseClass to inherit from ObjectContext.
  • BCreate a new ObjectQuery that uses MyBaseClass as the type parameter.
  • CModify the generated code file so that all entities inherit from MyBaseClass.
  • DUse the ADO.NET EntityObject Generator template to configure all entities to inherit from

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.

Full 70-516 Practice