Пример #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);
        }