Microsoft.Data.Schema.Tools.DataGenerator Namespace

This namespace contains the classes that are used to define the parts of a data generation plan. Data generation plans are used to generate realistic test data for databases.

For more information about data generation in Visual Studio, see Generating Test Data for Databases by Using Data Generators.

Classes

  Class Description
Public class ColumnConfigAnnotation Represents configuration settings for a column in a data generation plan.
Public class DataGenerationServices This abstract base class is responsible for providing database schema provider-specific information to the data generation feature to enable data generation for that provider.
Public class DataSink Provides an abstract base class for methods and properties used to store data created by a data generation plan.
Public class DefaultDistributionDesigner Represents the default designer implementation for working with distributions for a data generator at design time.
Public class DefaultGeneratorDesigner Provides a default data generator designer for working with the data generator at design time.
Public class DesignerInit Provides initiation information for extension objects in the Microsoft.Data.Schema.Tools.DataGenerator namespace.
Public class Distribution Provides a base class that enables you to use the declarative API for distributions.
Public class DistributionAttribute Identifies the designer for the distribution.
Public class DistributionInit Provides initialization information for a Distribution designer.
Public class ForeignKeyAttribute Indicates that a particular custom data generator can be selected for columns that are foreign key columns.
Public class Generator Represents the abstract base class for data generators.
Public class GeneratorAttribute Identifies the designer for the data generator to which it is applied.
Public class GeneratorInit Contains the information that is used to initialize an instance of a data generator class.
Public class GeneratorStylesAttribute The attribute that identifies the generator styles for a data generator.
Public class GeneratorUserException An exception that can be thrown by implementers of data generators if an error occurs when data is generated.
Public class InputAttribute The attribute that identifies generator properties as input properties.
Public class InputChangedEventArgs Provides data for the events that occur after the user changes input properties.
Public class InputChangingEventArgs Provides data for the validation events that occur when the user changes input properties.
Public class InputDescriptor Describes a single input of a data generator.
Public class InputValidationException The exception that is thrown by those implementers of IGenerator during validation to indicate that an input value is incorrect.
Public class OutputAttribute The attribute that is used to identify each output property of data generators.
Public class OutputDescriptor Describes a single output of a data generator.
Public class TableStorage Represents data generation for a table.
Public class TableStorageContext Generates new rows and provides information about the current state of row generation.
Public class TableStorageEventArgs Contains a message that is related to the associated event.

Interfaces

  Interface Description
Public interface IDataTransformPlanServices The data transform plan feature is used to create a data generation plan from a target database and assign sequential data-bound generators to each column. This effectively creates a data generation plan that copies a source database to the target database. This interface provides information (for a specific database schema provider) that enables this feature for a database schema provider. Generator implementers do not need to implement this interface; database schema provider implementers must implement this interface to enable support for data transform plans on their provider.
Public interface IDesigner Defines the contract for distribution designers. IGeneratorDesigner implements this interface. Therefore, this interface also defines the contract for data generators.
Public interface IDistribution Defines the distribution contract.
Public interface IGenerator Defines the data generator contract.
Public interface IGeneratorDesigner Defines the contract for data generator designers.

Enumerations

  Enumeration Description
Public enumeration AutoAssignedInput Specifies the types of input properties for a base data generator.
Public enumeration ErrorType Indicates the kind of failure that has occurred during data generation.
Public enumeration GeneratorDesignerStyles Specifies how a data generator appears in the user interface for data generation plans.
Public enumeration Severity