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)- A6% (2)
- B15% (5)
- C3% (1)
- D76% (25)
Community Discussion
No community discussion yet for this question.