In your application course, information is stored in a Course table. Some courses are online and additional information about online courses is stored in an OnlineCourse table. You generate an ED Model from the database. In the resulting model the Course and OnlineCourse have a 1 to 0..1 relationship. You need to modify the model so that the OnlineCourse entity includes all the properties of the Course entity and can be used as a Course entity.

What should you do?

 Posted by Rajkatie on 8/23/2012 | Category: ADO.NET Interview questions | Views: 3669 | Points: 40
Select from following answers:
  1. Create an inheritance relationship. Select OnlineCourse as the base entity and Course as the derived type.
  2. ark OnlineCourse as abstract. Add a condition to the Course mapping details.
  3. Create an inheritance relationship. Select Course as the base entity and OnlineCourse as the derived type
  4. All Above

Show Correct Answer

Source: | | Alert Moderator 

Comments or Responses

Login to post response