Пример #1
0
        public DDHouseInfoCollection FetchByQuery(Query qry)
        {
            DDHouseInfoCollection coll = new DDHouseInfoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public DDHouseInfoCollection FetchAll()
        {
            DDHouseInfoCollection coll = new DDHouseInfoCollection();
            Query qry = new Query(DDHouseInfo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public DDHouseInfoCollection FetchByID(object HouseID)
        {
            DDHouseInfoCollection coll = new DDHouseInfoCollection().Where("HouseID", HouseID).Load();

            return(coll);
        }