C#C
C#17mo ago
Core

✅ EF: how to structure same EF select query with no tracking?

Hello,
I need the exact same select query with and without tracking. Should I implement it in 2 separate methods or a single method with a bool parameter that would determine if the query will use tracking or not (e.g. SelectSomething(enableTracking = true))?
Was this page helpful?