Is it possible to configure Bogus to generate amorphic data container according to dynamic schema ?
I'm discovering arbitrary DB table and have System.Data.DataColumn[] as the discovered schema.
From this schema I want to generate multiple System.Data.DataRow elements, that comply with the discovered schema :
var row = table.NewRow()
foreach(c: table.Columns){
row[name] = faker.RandomValueForType(c.DataType)
}
The above pseudo code would be great to have as generator/instantiator which can be shared.
Thanks
Is it possible to configure Bogus to generate amorphic data container according to dynamic schema ? I'm discovering arbitrary DB table and have
System.Data.DataColumn[]
as the discovered schema. From this schema I want to generate multipleSystem.Data.DataRow
elements, that comply with the discovered schema :The above pseudo code would be great to have as generator/instantiator which can be shared. Thanks