예제 #1
0
        public AutMarcaCollection FetchByQuery(Query qry)
        {
            AutMarcaCollection coll = new AutMarcaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public AutMarcaCollection FetchAll()
        {
            AutMarcaCollection coll = new AutMarcaCollection();
            Query qry = new Query(AutMarca.Schema);

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