When working with the Entity Framework, what can you use to retrieve the SQL of a query?
Interview question and answer by: Rajkatie
| Posted on: 8/4/2012 | Category: ADO.NET Interview questions
| Views: 566 | | Points: 40
|Select from following answers:|
- Use the ToTraceString method on the ObjectQuery object.
- Add a TextWriter object to the Log property of ObjectContext.
- Set the Connection property of ObjectContext to a TextWriter object.
Show Correct Answer
| Alert Moderator
Found interesting? Add this to: