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