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