Share via


Numeric Members

An abstract base class from which all the data generators for numeric values are derived. This class is not intended to be inherited from directly. Implementation details for this class are all internal. Only the interfaces are public.

The following tables list the members exposed by the Numeric generic type.

Public Properties

(see also Protected Properties )

  Name Description
Public property Collation  Gets or sets the collation, or linguistically appropriate sorting, of this column.  (Inherited from Generator.)
Public property ColumnName  Gets or sets the column name. (Inherited from Generator.)
Public property Constraints  Gets the check constraint information for the column. (Inherited from Generator.)
Public property DefaultLocaleId  Gets or sets the locale ID.  (Inherited from Generator.)
Public property DefaultValue  Gets or sets the default value of the column. (Inherited from Generator.)
Public property Distribution Gets or sets the distribution that is associated with a data generator for numeric values.  
Public property Max Gets or sets the maximum value that the data generator for numeric values can produce.  
Public property MaxLength  Gets or sets the maximum length for this column.  (Inherited from Generator.)
Public property Min Gets or sets the minimum value that the data generator for numeric values can produce.  
Public property Nullable  Gets or sets a value that indicates whether this column can be set to NULL.  (Inherited from Generator.)
Public property OutputKey  Gets or sets the key that is used to retrieve output values. (Inherited from Generator.)
Public property 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. (Inherited from Generator.)
Public property Precision  Gets or sets the precision of the data. (Inherited from Generator.)
Public property RowsToInsert  Gets or sets the number of rows to generate. (Inherited from Generator.)
Public property Scale  Gets or sets the scale of the data. (Inherited from Generator.)
Public property SchemaName  Gets or sets the name of the schema to which the column belongs. (Inherited from Generator.)
Public property Seed  Gets or sets the seed. You can use the seed to initialize a deterministic random data generation algorithm.  (Inherited from Generator.)
Public property Step Gets or sets the step value that the data generator for numeric values uses when it produces unique values.  
Public property TableName  Gets or sets the name of the table to which the column belongs. (Inherited from Generator.)
Public property TargetType  Gets or sets the SQL data type of the column. (Inherited from Generator.)
Public property 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.  (Inherited from Generator.)

Top

Protected Properties

  Name Description
Protected property Zero Gets or sets the generic zero value of the data generator for numeric values.  

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Dispose  Overloaded. Releases the resources that the Generator class used.  (Inherited from Generator.)
Public method Equals  Overloaded. (Inherited from Object.)
Public method GenerateNextValues  Generates the next value according to the data generation algorithm.  (Inherited from Generator.)
Public method GetHashCode  (Inherited from Object.)
Public method GetOutputValue  Retrieves an output value by using the OutputKey.  (Inherited from Generator.)
Public method GetType  (Inherited from Object.)
Public method Initialize  Initializes the data generator.  (Inherited from Generator.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method SetInputValues  Sets the input values for a data generator.  (Inherited from Generator.)
Public method ToString  (Inherited from Object.)
Public method ValidateInputs  Validates that all the required inputs on the data generator have been set.  (Inherited from Generator.)

Top

Protected Methods

  Name Description
Protected method Dispose  Overloaded. Releases the resources that the Generator class used.  (Inherited from Generator.)
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnGenerateNextValues  Generates the next value according to the data generation algorithm.  (Inherited from Generator.)
Protected method OnGetOutputValue  Retrieves the current set of results that consists of one or more values.  (Inherited from Generator.)
Protected method OnInitialize Overridden. Initializes the data generator.  
Protected method OnSetInputValues  Sets the input values for a data generator.  (Inherited from Generator.)
Protected method OnValidateInputs Overridden. Validates whether all the required inputs on a generator have been set.  

Top

See Also

Reference

Numeric Generic Class
Microsoft.VisualStudio.TeamSystem.Data.Generators Namespace