For read-only scenarios, you should use the AsNoTracking behavior in EF Core.

You can set it to:
1. Query
2. Context
3. All queries

Such queries will be faster because EF doesn't set up information for tracking

Use the AsTracking method for queries you want to track in the third case.
Post image

Comments