public CustomerCustomerDemoCollection FetchByQuery(Query qry) { CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection(); coll.Load(qry.ExecuteReader()); return(coll); }
public CustomerCustomerDemoCollection FetchAll() { CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection(); Query qry = new Query(CustomerCustomerDemo.Schema); coll.Load(qry.ExecuteReader()); return(coll); }
public CustomerCustomerDemoCollection FetchByID(object CustomerID) { CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection().Where("CustomerID", CustomerID).Load(); return(coll); }