public void SelectAll() { var repo = new Repo(Connect); IEnumerable<Customer> items = repo.GetList(); Write.Out(items); }
public void Select() { var repo = new Repo(Connect); IEnumerable<Customer> items = repo.GetStartingWithR(); Write.Out(items); }
public void Paged() { var repo = new Repo(Connect); int i = 0; IEnumerable<Customer> items; do { items = repo.GetPaged(i++); Write.Out(items); Console.ReadKey(); } while (items.Any()); }
public void Insert() { var repo = new Repo(Connect); repo.Insert(DomainGenerator.CreateCustomers(50)); }