nerdexam
Microsoft

70-516 · Question #282

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. The application uses Entity Framework to…

The correct answer is D. CreateQuery. See the full explanation below for the reasoning.

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. The application uses Entity Framework to access data. You need to use Entity SQL to query data from an object of type ObjectContext. Which method should you use first?

Options

  • AExecuteStoreCommand
  • BExecuteStoreQuery
  • CCreateObject
  • DCreateQuery

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    15% (5)
  • C
    3% (1)
  • D
    76% (25)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice