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); }