How To Log number of Records in EF Select Command
<p>I am use EF to get records by SELECT statement. for some performance issue I,m need to log Commands so that returned number of rows exeeds for example 1000. but I can not found any examples or documentation to do that.</p>

<p>I think could use IDbCommandInterceptor and implement CommandExecuted method to achive that. but not sure.</p>

<p>Are IDbCommandInterceptor is usable or should do it in another way?</p>