Random value generators for relational schema components in the Pure ecosystem.
Pure.RelationalSchema.Random provides random-value generators for every structural element of a relational schema. These types are intended for use in tests, fuzz testing, and property-based testing scenarios where you need structurally valid but arbitrarily-valued schema objects.
| Type | Description |
|---|---|
RandomSchema |
A randomly constructed ISchema with a random name, tables, and foreign keys |
RandomSchemasCollection |
A random collection of ISchema instances |
RandomTable |
A randomly constructed ITable with random name, columns, and indexes |
RandomTablesCollection |
A random collection of ITable instances |
RandomColumn |
A randomly constructed IColumn with a random name and column type |
RandomColumnsCollection |
A random collection of IColumn instances |
RandomColumnType |
A random IColumnType |
RandomColumnTypesCollection |
A random collection of IColumnType instances |
RandomForeignKey |
A randomly constructed IForeignKey |
RandomForeignKeysCollection |
A random collection of IForeignKey instances |
All types implement the corresponding Pure.RelationalSchema.Abstractions interface and live in the Pure.RelationalSchema.Random namespace.
Pure.RelationalSchema— concrete schema domain model typesPure.Primitives.Random— random primitive value generators