Disconnected Entities
Learn the basics of adding or updating disconnected entities and graphs.
Overview
Previously, we saw how to retrieve and save entities using the same instance of a DbContext
. This lesson reviews how to save disconnected entities. Disconnected entities refer to entities queried using one DbContext
and saved using another DbContext
.
Get hands-on with 1200+ tech skills courses.