C# Entity Framework Basics CRUD Operations Updating Entities

When is an entity tracked by the context?

At which point or time is an entity tracked by it's context in order to change or get it's data?

1 Answer

Steven Parker
Steven Parker
200,560 Points

Entities are tracked by default unless you explicitly ask for them not to be, by adding ".AsNoTracking()" to the query.