Example #1
0
        public DDCarInfoCollection FetchByQuery(Query qry)
        {
            DDCarInfoCollection coll = new DDCarInfoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public DDCarInfoCollection FetchAll()
        {
            DDCarInfoCollection coll = new DDCarInfoCollection();
            Query qry = new Query(DDCarInfo.Schema);

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