private static void SimpleQuery() { var service = new SimpleDataDynamicServices(); var customers = service.GetCustomers(); foreach (var customer in customers) { ObjectDumper.Write(customer); } }
private static void PagedQuery() { var service = new SimpleDataDynamicServices(); var result = service.GetCustomers(2); foreach (dynamic customer in result.Items) ObjectDumper.Write(customer); ObjectDumper.Write(string.Format("There are {0} records matching the criteria", result.TotalRecords)); }
private static void PagedQuery() { var service = new SimpleDataDynamicServices(); var result = service.GetCustomers(2); foreach (dynamic customer in result.Items) { ObjectDumper.Write(customer); } ObjectDumper.Write(string.Format("There are {0} records matching the criteria", result.TotalRecords)); }
private static void SimpleQuery() { var service = new SimpleDataDynamicServices(); var customers = service.GetCustomers(); foreach (var customer in customers) ObjectDumper.Write(customer); }