Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

The Microsoft.VisualStudio.TeamSystem.Data.DataGenerator namespace provides interfaces and classes that you can use to customize the built-in data generator functionality.

You can use Visual Studio Team System Database Edition to generate meaningful data for testing. By using the built-in data generators, you can generate random data, generate data from existing data sources, and control many aspects of data generation. If the functionality of the built-in generators is insufficient, you can create custom data generators. You can also create custom data distributions and custom designers for data generators and distributions. For more information, see An Overview of Data Generator Extensibility.

You can find an example of how to create a simple custom data generator in Walkthrough: Creating a Custom Data Generator.

Classes

  Class Description
Aa833577.pubclass(en-us,VS.90).gif DefaultDistributionDesigner The default designer that you can use for all distributions.
Aa833577.pubclass(en-us,VS.90).gif DefaultGeneratorDesigner The default designer that can be used for all data generators.
Aa833577.pubclass(en-us,VS.90).gif DesignerInit Provides initialization information for designers.
Aa833577.pubclass(en-us,VS.90).gif DGenCompatibilityAttribute Specifies that this data generator assembly should replace a specific earlier version of an assembly when a data generation plan is loaded.
Aa833577.pubclass(en-us,VS.90).gif Distribution The abstract base class for distributions.
Aa833577.pubclass(en-us,VS.90).gif DistributionAttribute Identifies a class as a distribution.
Aa833577.pubclass(en-us,VS.90).gif DistributionInit Contains the information that is used to initialize an instance of a Distribution class.
Aa833577.pubclass(en-us,VS.90).gif Generator The abstract base class for data generators.
Aa833577.pubclass(en-us,VS.90).gif GeneratorAttribute Identifies a class as a data generator.
Aa833577.pubclass(en-us,VS.90).gif GeneratorInit Contains the information that is used to initialize an instance of a data generator class.
Aa833577.pubclass(en-us,VS.90).gif GeneratorStylesAttribute The attribute that identifies the generator styles of a data generator.
Aa833577.pubclass(en-us,VS.90).gif GeneratorUserException An exception that can be thrown by implementers of data generators if an error occurs while generating data.
Aa833577.pubclass(en-us,VS.90).gif InputAttribute The attribute that identifies input properties of generators.
Aa833577.pubclass(en-us,VS.90).gif InputChangedEventArgs Provides data for the events that occur after the user changes input properties.
Aa833577.pubclass(en-us,VS.90).gif InputChangingEventArgs Provides data for the validation events that occur when the user changes input properties.
Aa833577.pubclass(en-us,VS.90).gif InputDescriptor Describes a single input of a data generator.
Aa833577.pubclass(en-us,VS.90).gif InputValidationException The exception that implementers of IGenerator throw during validation to indicate that an input value is not correct.
Aa833577.pubclass(en-us,VS.90).gif OutputAttribute The attribute used to identify the output properties of data generators.
Aa833577.pubclass(en-us,VS.90).gif OutputDescriptor Describes a single output of a data generator.

Interfaces

  Interface Description
Aa833577.pubinterface(en-us,VS.90).gif IDesigner Defines the contract for distribution designers. IGeneratorDesigner implements this interface. Therefore, this interface also defines the contract for data generators.
Aa833577.pubinterface(en-us,VS.90).gif IDistribution Defines the distribution contract.
Aa833577.pubinterface(en-us,VS.90).gif IGenerator Defines the data generator contract.
Aa833577.pubinterface(en-us,VS.90).gif IGeneratorDesigner Defines the contract for data generator designers.

Enumerations

  Enumeration Description
Aa833577.pubenumeration(en-us,VS.90).gif AutoAssignedInput Specifies the types of input properties for a standard data generator.
Aa833577.pubenumeration(en-us,VS.90).gif ErrorType Indicates the type of a failure that occurs during data generation.
Aa833577.pubenumeration(en-us,VS.90).gif GeneratorDesignerStyles Specifies how a data generator appears in the user interface for data generation plans.
Aa833577.pubenumeration(en-us,VS.90).gif Severity Indicates the severity of a failure that occurs during data generation.

See Also

Reference

Other Resources

Creating Custom Data Generators

Data Generator Walkthroughs

Generating Data with Data Generators

Overview of Generating Data