concept custom data generator in category system administration

appears as: custom data generators, custom data generator
Team Foundation Server 2008 in Action

This is an excerpt from Manning's book Team Foundation Server 2008 in Action.

The generators are smart enough to recognize primary key/foreign key constraints and produce data in the correct sequence, so that the referential integrity constraints aren’t violated. You can also specify the ratio of rows inserted in a particular table to rows in a related table. If none of the built-in generators meet your needs, you can create custom data generators (more on this in later sections).

3.3. Technical review: creating a custom data generator

In this section, we create a custom data generator that outputs prime numbers, subject to a user-specified limit. You’ll be able to use the same technique to create custom data generators that meet your own requirements.

Figure 3.29. Inherit from the Generator class to create custom data generators.
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest