nerdexam
Microsoft

70-516 · Question #242

You have a LINQ to SQL model. You create an entity named Employee by dragging a table from Server Explorer to a design surface named MyStore.dbml. You need to identify the class definition of the…

The correct answer is B. public partial class Employee : INotifyPropertyChanging, INotifyPropertyChanged. See the full explanation below for the reasoning.

Question

You have a LINQ to SQL model. You create an entity named Employee by dragging a table from Server Explorer to a design surface named MyStore.dbml. You need to identify the class definition of the Employee class. Which class definition should you identify?

Options

  • Apublic partial class Employee : EntityRef
  • Bpublic partial class Employee : INotifyPropertyChanging, INotifyPropertyChanged
  • Cpublic partial class Employee : EntitySet
  • Dpublic partial class Employee : DataContext

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    79% (26)
  • C
    6% (2)
  • D
    12% (4)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice