Parameterized queries are counted as duplicates


#1

A query that’s called with different parameters should not be counted as a duplicate. This happens very frequently with linq2sql which calls the same query repeatedly with different parameters.

A related enhancement would be to show the parameters that are used for each query.


#2

Actually they really should. The duplicate functionality is mainly to identify N+1 issues (which, as you say, Linq2SQL is very prone to) and they have exactly that pattern.

Read more on StackOverflow.