Generator Members
The abstract base class for data generators.
The following tables list the members exposed by the Generator type.
Protected Constructors
Name | Description | |
---|---|---|
Generator | Initializes a new instance of the Generator class. |
Top
Public Properties
Name | Description | |
---|---|---|
Collation | Gets or sets the collation, or linguistically appropriate sorting, of this column. | |
ColumnName | Gets or sets the column name. | |
Constraints | Gets the check constraint information for the column. | |
DefaultLocaleId | Gets or sets the locale ID. | |
DefaultValue | Gets or sets the default value of the column. | |
MaxLength | Gets or sets the maximum length for this column. | |
Nullable | Gets or sets a value that indicates whether this column can be set to NULL. | |
OutputKey | Gets or sets the key that is used to retrieve output values. | |
PercentageNull | Gets or sets the percentage of the generated values for this column that should be a null reference (Nothing in Visual Basic). The percentage is expressed as an integer between 0 and 100. | |
Precision | Gets or sets the precision of the data. | |
RowsToInsert | Gets or sets the number of rows to generate. | |
Scale | Gets or sets the scale of the data. | |
SchemaName | Gets or sets the name of the schema to which the column belongs. | |
Seed | Gets or sets the seed. You can use the seed to initialize a deterministic random data generation algorithm. | |
TableName | Gets or sets the name of the table to which the column belongs. | |
TargetType | Gets or sets the SQL data type of the column. | |
Unique | Gets or sets a value that indicates whether the column that is being generated is part of a unique constraint or primary key constraint. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources that the Generator class used. | |
Equals | Overloaded. (Inherited from Object.) | |
GenerateNextValues | Generates the next value according to the data generation algorithm. | |
GetHashCode | (Inherited from Object.) | |
GetOutputValue | Retrieves an output value by using the OutputKey. | |
GetType | (Inherited from Object.) | |
Initialize | Initializes the data generator. | |
ReferenceEquals | (Inherited from Object.) | |
SetInputValues | Sets the input values for a data generator. | |
ToString | (Inherited from Object.) | |
ValidateInputs | Validates that all the required inputs on the data generator have been set. |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources that the Generator class used. | |
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnGenerateNextValues | Generates the next value according to the data generation algorithm. | |
OnGetOutputValue | Retrieves the current set of results that consists of one or more values. | |
OnInitialize | Initializes the generator. | |
OnSetInputValues | Sets the input values for a data generator. | |
OnValidateInputs | Validates that all the required inputs on the data generator have been set. |
Top
See Also
Reference
Generator Class
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
GeneratorAttribute
GeneratorInit
IGenerator
Concepts
An Overview of Data Generator Extensibility
Specifying Details of Data Generation for a Column