Entity Framework
ReSharper | Options | Code Inspection | Entity Frameworks
This page of ReSharper options allows you to configure the code inspection in Entity Framework-related contexts.
Enable Entity Framework-specific inspections | Use this checkbox to toggle Entity Framework-specific inspections, such as Possible multiple queries to the database (N+1 problem) and Query can return incomplete data for related entities. Note that after changing this option and saving the changes, ReSharper will have to re-analyze all projects that have direct or indirect references to Entity Framework. |
Classes, for which Entity Framework query inspections should be disabled | Use this table to list FQNs (fully qualified names) of database context classes (classes inherited from You can click Add above the table to specify FQNs manually, or you can press AltEnter in the editor at the corresponding highlighting and choose to ignore the related context class from the menu: ![]() |
note
ReSharper's settings are saved in settings layers, which allow you to have different settings for different solutions and to share your settings with your team.