title: Entity Framework How to see SQL statements for SaveChanges method
body: <p>I used to use the context.Log for tracing LINQ to SQL generated SQL Statements as shown in <a href="https://stackoverflow.com/questions/11156124/sql-server-query-visualizer-cannot-see-generated-sql-query/11201832#11201832">Sql Server Query Visualizer – Cannot see generated SQL Query</a></p>
  
  <pre><code>context.Log = new OutputWindowWriter();
  </code></pre>
  
  <p>For EF, is there anything similar and easy like the above approach?</p>