Persistence in Entity Framework.
There are two types of persistence scenarios in the entity framework:
1. Connected Scenarios
In this scenario, the same context class is used to retrieve and save entities. It keeps track of all databases during the whole lifecycle. It is useful for the databases for the same network.
2. Disconnected Scenarios
In this scenario, a different context is used to retrieve and save data. One instance of context class is used to retrieve the data, and another is used to save the data.
Comments
Post a Comment