How to: Upgrade a Data Generation Plan from a Previous Release

You can use a data generation plan in Visual Studio 2010 Premium, even if you created the plan by using an earlier version of the product. However, you must upgrade each plan as soon as you open it.

To upgrade a data generation plan

  1. Open the solution that contains the database project whose plan you want to upgrade.

  2. In Solution Explorer, expand the Data Generation Plans node, and double-click the plan that you want to upgrade.

    The Confirm Upgrade of Data Generation Plan dialog box appears.

  3. Select or clear the Use the default generator if an upgraded generator is not available check box. By default, this check box is selected.

    Note

    If you clear this check box, you will not be able to generate data with the plan until you assign a data generator for the columns for which an upgraded generator was not available. You will encounter this issue if you used the custom data generators that were released as power tools.

  4. Select or clear the Back up the plan before upgrade check box. By default, this check box is selected.

  5. Click OK.

    Your data generation plan is upgraded and opens. If one or more issues are found, they appear in the Error List window.

See Also

Concepts

Generating Test Data for Databases by Using Data Generators

Upgrading Database Projects from Previous Releases of Visual Studio

Troubleshooting Data Generation Issues