JetBrains Rider 2024.3 Help

Entity Framework

This page of JetBrains Rider settings allows you to configure features of Entity Framework support.

Enable Entity Framework-specific inspections

Use this checkbox to toggle all Entity Framework-specific inspections.

Note that after changing this option and saving the changes, JetBrains Rider will have to re-analyze all projects that have direct or indirect references to Entity Framework.

Enable Entity Framework model-specific inspections

Use this checkbox to toggle the following inspections:

Entity Framework query analysis mode

Use these options to choose whether to use one of the query analysis modes, or to disable the corresponding inspections:

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 DbContext) that will be ignored during code analysis for identifying N+1, incomplete data, and other related issues.

You can click Add above the table to specify FQNs manually, or you can press Alt+Enter in the editor at the corresponding highlighting and choose to ignore the related context class:

JetBrains Rider: Disabling Entity Framework inspections for a DB context class from the 'Alt+Enter' menu
Last modified: 27 November 2024