Reply to comment

Error in query.ToList()

When I try to execute the method SelectAllList(...), in the line return query.ToList(); I'm receiving the next error :
" The query has been canceled because the estimated cost of this query (1660) exceeds the configured threshold of 1500. Contact the system administrator."

How is the problem, my query is select top 251 c1, c2... from table1
Note that de top is only 251 rows, apreciate it your help.

Reply