title: Profiling Entity Framework Core using SQL Server Profiler
body: <p>When you look at the SQL Server Profiler when profiling Entity Framework LINQ statements, there are lot of events that's getting fired. To optimize the LINQ queries, what events should I monitor in profiler?</p>
  
  <p>I figured <code>SQL:BatchCompleted</code> and and <code>RPC:Completed</code> to be actual queries that get executed but what is the difference?</p>
  
  <p><a href="https://i.stack.imgur.com/sRr8k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sRr8k.png" alt="enter image description here"></a></p>