public CustomerCustomerDemoCollection FetchByQuery(Query qry) { CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CustomerCustomerDemoCollection FetchAll() { CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection(); Query qry = new Query(CustomerCustomerDemo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }