public void GeneratorExample() { using (var conn = new SqlConnection()) { var idGeneratorFactory = IdGeneratorFactories.GetFactory(conn); var peopleService = new PeopleService(idGeneratorFactory); peopleService.GenerateData(); } }
public void GeneratorExample() { using (var conn = new SqlConnection()) { var idGeneratorFactory = IdGeneratorFactories.GetFactory(conn); var peopleService = new PeopleService(idGeneratorFactory); peopleService.GenerateData(); } }