O'Reilly logo

Beginning WF: Windows Workflow in .NET 4.0 by Mark Collins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required