Esempio n. 1
0
        public AutModeloCollection FetchByQuery(Query qry)
        {
            AutModeloCollection coll = new AutModeloCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public AutModeloCollection FetchAll()
        {
            AutModeloCollection coll = new AutModeloCollection();
            Query qry = new Query(AutModelo.Schema);

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