In the previous chapter, we talked about managing concurrency-related issues using Entity Framework. Another important topic when dealing with data centric applications is transaction management. ADO.NET provides a very clean and efficient API for transaction management. Since Entity Framework runs on top of ADO.NET, it is able to utilize the transaction management features of ADO.NET.
In this chapter, we will see how we can manage transactions using Entity Framework. We will first try to understand the default behavior of Entity Framework and then we will see how we can take complete control of transaction management using an Entity Framework provided API.