I have had a look through the code base and I have found that when we read data from the database, there is no need for EF's change tracking, as no manipulation is done to the data being read.
I.E. SaveChanges() is not being called after a read.
To improve performance, each query could be decorated with .AsNoTracking(), turning off EF's ability to track changes in the context.
If this is deemed to be a useful change I am happy to give a pull request a go.
Hello,
I have had a look through the code base and I have found that when we read data from the database, there is no need for EF's change tracking, as no manipulation is done to the data being read. I.E. SaveChanges() is not being called after a read.
To improve performance, each query could be decorated with .AsNoTracking(), turning off EF's ability to track changes in the context.
If this is deemed to be a useful change I am happy to give a pull request a go.
Thanks