Chapter 7. Persisting objects into the database
- Persisting modified objects into the database
- Persisting complex object graphs into the database
- Persisting with foreign-key and independent associations
Now that you know how to handle entity lifecycles, you’re ready to take the next step: persisting modifications made to objects into the database.
In this chapter, we’ll discuss how to insert, update, and delete entities in both connected and disconnected scenarios. We’ll cover single-object updates, such as a customer, and complex graph updates, such as an order and its details. By the end of this chapter, you’ll be able to manage updates through Entity Framework.
In this chapter, we won’t be discussing topics ...