- tracked entities are saved during
SaveChanges()
call - entities being tracked when they are:
- returned from DB
- attached to context
- added as subentity
- tracking can be disabled (
AsNoTracking()
i.e.)
Further read:
SaveChanges()
callAsNoTracking()
i.e.)Further read: