You use the Entity Data Model Wizard to generate an Entity Data Model from an application database. An entity type named Student includes a property named EnrollmentDate. You need to add code that will execute after the EnrollmentDate property is reset. The code should not be affected if you update the model from the database.
What should you do?

 Posted by Rajkatie on 8/28/2012 | Category: ADO.NET Interview questions | Views: 2356 | Points: 40
Select from following answers:
  1. Create a partial class in a separate class file. Implement a method named OnEnrollmentDateChanged.
  2. Create a partial class in a separate class file. Implement a method named OnEnrollmentDateChanging.
  3. Modify the Student class generated by the Entity Data Model Wizard to implement the INotifyPropertyChanging interface.
  4. All Above

Show Correct Answer


Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response