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.
- All Above
To view the SQL statements that are sent to the database with the Entity Framework, use the ToTraceString method on the QueryObject.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator