You use the Entity Data Model Wizard to generate an Entity Data Model from an application database. You need to add validation code to entity classes. The code must meet the following requirements:
* Validation code should not be affected if you update the model from the database.
* Using the validation code should require the least amount of developer effort.
What should you do?

 Posted by Rajkatie on 8/28/2012 | Category: ADO.NET Interview questions | Views: 2084 | Points: 40
Select from following answers:
  1. Create a partial class in a separate class file. Add validation to event handlers implemented in this file.
  2. Create a new class that extends the entity class. Add validation to property overrides.
  3. Create a new class that extends the entity class. Add validation to event handlers implemented in this file.
  4. All Above

Show Correct Answer


Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response