SQL Server Profiler - Why are some calls RPC:Completed and Some Calls SQL:BatchCompleted
BatchCompleted means TSQL code (e.g. selects) have completed.
RPC:Completed means stored proc has completed. It could be that EF executes SQL code dinamically using sp_executesql so you get RPC:Completed.
sp_executesql 本身是一个存储过程