Chapter 15. Transactions with Persistence

In this chapter, you will modify the application to coordinate the database updates with the workflow persistence so they are performed on the same database transaction. This will ensure that your application tables are consistent with the instance data. You will provide extensions that override the PersistenceParticipant class and update your application data when the workflow is persisted.

Setting Up the Solution

You will reuse the project that you developed in Chapter 14. Start by creating a blank solution, as shown in Figure 15-1. For the solution name, enter Chapter15.

Creating a blank solution

Figure 15-1. Creating a blank solution ...

Get Beginning WF: Windows Workflow in .NET 4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.