Your LINQ to SQL data model includes Customer and Order entities. You add an association to relate these entities. You need to configure the association to enforce the following requirements:
* Each Order must have a single Customer associated with it.
* A Customer can have zero or more associated Orders entities.
What should you do?

 Posted by Rajkatie on 8/28/2012 | Category: ADO.NET Interview questions | Views: 1184 | Points: 40
Select from following answers:
  1. Set the Parent class to Customer and the Child class to Order and set the Cardinality to OneToMany.
  2. Set the Parent class to Order and the Child class to Customer and set the Cardinality to OneToMany.
  3. Set the Parent class to Order and the Child class to Customer and set the Cardinality to OneToOne.
  4. All Above

Show Correct Answer


Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response