Efficient Querying - EF Core | Microsoft Learn
learn.microsoft.com › en-us › efJan 12, 2023 · EF tracks entity instances by default, so that changes on them are detected and persisted when SaveChanges is called. Another effect of tracking queries is that EF detects if an instance has already been loaded for your data, and will automatically return that tracked instance rather than returning a new one; this is called identity resolution. From a performance perspective, change tracking means the following: