EF CORE DETACH ENTITY

_context.Entry(entityToUntrack).State = EntityState.Detach
Inexpensive Iguana