Method | Description | |
---|---|---|
RandomSet ( [ recordSetDefinition, int minRows, int maxRows = 1000, double nullProbability = 0.1, object>.[ |
Initializes a new instance of the RandomSet class.
|
|
RandomSet ( int columns, int minRows, int maxRows = 1000, double nullProbability = 0.1, object>.[ |
Initializes a new instance of the RandomSet class.
|
Method | Description | |
---|---|---|
GenerateRecords ( [ recordSetDefinition, int minRows, int maxRows, double nullProbability, object>.[ |
public RandomSet ( [ recordSetDefinition, int minRows, int maxRows = 1000, double nullProbability = 0.1, object>.[ |
||
recordSetDefinition | [ | The record set definition. |
minRows | int | The min rows. |
maxRows | int | The max rows. |
nullProbability | double | The probability of a column's value being set to SQL null (0.0 for no nulls) [Defaults to 0.1 = 10%]. |
columnGenerators | object>.[ | The column generators is an array of functions that generate a value for each column, if the function is
/// |
return | System |
public RandomSet ( int columns, int minRows, int maxRows = 1000, double nullProbability = 0.1, object>.[ |
||
columns | int | The number of columns, if less than one, then a random number is chosen. |
minRows | int | The minimum number of rows [defaults to 0]. |
maxRows | int | The maximum number of rows [defaults to 1000]. |
nullProbability | double | The probability of a column's value being set to SQL null (0.0 for no nulls) [Defaults to 0.1 = 10%]. |
columnGenerators | object>.[ | The column generators is an array of functions that generate a value for each column, if the function is
/// |
return | System |