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