0
sparkyjr created
I am using AsNoTracking in GetAll() repository call in the following way:
var itemsList=await _exampleRepository.GetAll()
.AsNoTracking()
.Where(someCondition)
.Include(r=>r.Entity)
.ToListAsync()
Is this the correct way to order AsNoTracking(), Where clause and Include?
1 Answer(s)
-
0
Answered in this question: https://stackoverflow.com/questions/35553457/does-it-matter-where-asnotracking-in-entity-framework-is-called