You use the Entity Data Model Wizard to generate an Entity Data Model from an application database. You add a class named BaseEntity. You need to ensure that all entity classes extend BaseEntity and not ObjectEntity. You also need to ensure that your changes are not overwritten if you update the model from the database. Your effort should be minimal.
What should you do?

 Posted by Rajkatie on 8/28/2012 | Category: ADO.NET Interview questions | Views: 2737 | Points: 40
Select from following answers:
  1. Create a T4 (.tt) template that writes entity classes that extend BaseEntity.
  2. In partial classes, modify the entity class definition to extend BaseEntity.
  3. Create a Visual Studio extension that generates class definitions from the Entity Data Model XML.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response