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 an Employee entity type and a Manager entity type that subtypes (extends) Employee. You need to write an Entity SQL query that returns only Manager entity types from a collection of employees.

What should you do?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 998 | Points: 40
Select from following answers:
  1. Use the OFTYPE function in the FROM clause.
  2. Add the TREAT typecast to the SELECT clause.
  3. Add the TREAT typecast to a HAVING clause.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response