public void Create_sequentialy_N_oneToMany_entities([Values(1,10,30)] int qtd, [Values("ADO", "EF", "ORMLite")] string impl) { var testImpls = new RepoImplsTests(); for (int i = 0; i < qtd; i++) testImpls.Create_OneToManyModel(impl); }
public void Create_parallely_N_oneToMany_entities([Values(1,10,30)] int qtd, [Values("ADO", "EF", "ORMLite")] string impl) { Parallel.For(0, qtd, (int i) => { var testImpls = new RepoImplsTests(); testImpls.Create_OneToManyModel(impl); }); }