Microsoft.Data.Schema.DataGenerator Namespace
The Microsoft.Data.Schema.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.
Classes
Class | Description | |
---|---|---|
ColumnConfigAnnotation | Represents a column configuration annotation. | |
DataGenerationServices | Represents data generation services. | |
DataSink | Represents the data sink, which encapsulates the storage of data from the generation of data. | |
DefaultDistributionDesigner | This class is the default designer for all distributions. | |
DefaultGeneratorDesigner | This class provides the default designer that can be used for all data generators. | |
DesignerInit | This class provides initialization information for designers. | |
Distribution | The abstract base class for distributions. | |
DistributionAttribute | Identifies the designer for the distribution. | |
DistributionInit | This class provides initialization information for designers. | |
Generator | This class is the abstract base class for data generators. | |
GeneratorAttribute | Identifies the designer for the data generator. | |
GeneratorInit | Contains the information that is used to initialize an instance of a data generator class. | |
GeneratorStylesAttribute | The attribute that identifies the generator styles of a data generator. | |
GeneratorUserException | An exception that can be thrown by implementers of data generators if an error occurs when generating data. | |
InputAttribute | The attribute that identifies input properties of generators. | |
InputChangedEventArgs | Provides data for the events that occur after the user changes input properties. | |
InputChangingEventArgs | Provides data for the validation events that occur when the user changes input properties. | |
InputDescriptor | Describes a single input of a data generator. | |
InputValidationException | The exception those implementers of IGenerator throw during validation to indicate that an input value is not correct. | |
OutputAttribute | The attribute used to identify the output properties of data generators. | |
OutputDescriptor | Describes a single output of a data generator. | |
TableStore | Represents table data generation. | |
TableStoreEventArgs | Contains only a message. |
Interfaces
Interface | Description | |
---|---|---|
IDesigner | Defines the contract for distribution designers. IGeneratorDesigner implements this interface. Therefore, this interface also defines the contract for data generators. | |
IDistribution | Defines the distribution contract. | |
IGenerator | Defines the data generator contract. | |
IGeneratorDesigner | Defines the contract for data generator designers. |
Enumerations
Enumeration | Description | |
---|---|---|
AutoAssignedInput | This enumeration specifies the types of input properties for a standard data generator. | |
ErrorType | This enumeration indicates the type of failure that occurs during data generation. | |
GeneratorDesignerStyles | Specifies how a data generator appears in the user interface for data generation plans. | |
Severity | Indicates the severity of a failure that occurs during data generation. |
See Also
Reference
Other Resources
An Overview of Data Generator Extensibility
Considerations for Custom Data Generators