nerdexam
Microsoft

70-516 · Question #210

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses the Entity Framework. The application has an entity model that includes SalesTerritory and…

The correct answer is A. from person in model.SalesPersons. See the full explanation below for the reasoning.

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses the Entity Framework. The application has an entity model that includes SalesTerritory and SalesPerson entities as shown in the following diagram. You need to calculate the total bonus for all sales people in each sales territory. Which code segment should you use?

Exhibit

70-516 question #210 exhibit

Options

  • Afrom person in model.SalesPersons
  • Bfrom territory in model.SalesTerritories
  • Cmodel.SalesPersons
  • Dmodel.SalesTerritories

How the community answered

(24 responses)
  • A
    83% (20)
  • B
    4% (1)
  • C
    4% (1)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice