DatabaseDecimal Members

Include Protected Members
Include Inherited Members

Generates random decimal/numeric values between min and max.

The DatabaseDecimal type exposes the following members.

Constructors

  Name Description
Public method DatabaseDecimal Initializes a new instance of the DatabaseDecimal class.

Top

Methods

  Name Description
Public method Dispose Overloaded. Releases the resources that the Generator class used.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GenerateNextValues Generates the next value according to the data generation algorithm. (Inherited from Generator.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetOutputValue Retrieves an output value by using the OutputKey. (Inherited from Generator.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Initializes the data generator. (Inherited from Generator.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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 Initializes the distribution. (Inherited from Numeric<T>.)
Protected method OnNextValues Generates the next set of values for a data row. (Inherited from Generator.)
Protected method OnSetInputValues Sets the input values for a data generator. (Inherited from Generator.)
Protected method OnValidateInputs Validates input properties. (Inherited from Numeric<T>.)
Public method SetExtensionHandle Sets the extension handle, as specified. (Inherited from Generator.)
Public method SetInputValues Sets the input values for a data generator. (Inherited from Generator.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method ValidateInputs Validates that all the required inputs on the data generator have been set. (Inherited from Generator.)

Top

Properties

  Name Description
Public property Collation Gets or sets the collation, or linguistically appropriate sorting, of this column. (Inherited from Generator.)
Public property Column Gets or sets the column. (Inherited from Generator.)
Public property ColumnName Gets or sets the column name. (Inherited from Generator.)
Public property Constraints Gets or sets 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. (Inherited from Numeric<T>.)
Public property ExtensionHandle Gets the extension handle. (Inherited from Generator.)
Public property Max Gets or sets the maximum value. (Inherited from Numeric<T>.)
Public property MaxLength Gets or sets the maximum length for this column. (Inherited from Generator.)
Public property Min Gets or sets the minimum value. (Inherited from Numeric<T>.)
Public property Nullable Gets or sets a value that indicates whether this column can be set to nulla null reference (Nothing in Visual Basic). (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 nulla 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 Result Gets the result.
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. (Inherited from Numeric<T>.)
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 a primary key constraint. (Inherited from Generator.)
Public property VariantResult Gets the result.
Protected property Zero Gets or sets zero. (Inherited from Numeric<T>.)

Top

See Also

Reference

DatabaseDecimal Class

Microsoft.Data.Schema.Generators.Sql Namespace