You create an application that uses the Entity Framework to access data from a Microsoft SQL Server database. You create an Entity Data Model that includes the following definitions:

* A Department entity type, with properties Id and DepartmentName
* An Employee entity type, with properties Id, FirstName, and LastName
* An association that creates a one-to-many relationship between the Department and Employee entity types

You need to use Entity SQL to query the Employees entities to return an employee name and the name of the employee's department.

Which Entity SQL operator or operators should you use to access the name of the employee's department?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 975 | Points: 40
Select from following answers:
  1. Use the DEREF and KEY operator in the SELECT clause.
  2. Use the DEREF and NAVIGATE operators in the SELECT clause.
  3. Use the KEY and NAVIGATE operator in the SELECT clause.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response