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?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Answered in this question: https://stackoverflow.com/questions/35553457/does-it-matter-where-asnotracking-in-entity-framework-is-called
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)