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); }
public CustomerCustomerDemoCollection FetchByID(object CustomerID) { CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection().Where("CustomerID", CustomerID).Load(); return(coll); }