Persistence in Entity Framework There are two scenarios when persisting an entity using EntityFramework, connected and disconnected scenarios. Connected Scenario: This is when an entity is retrieved from the database and persist is used in the same c…