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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }