Exemplo n.º 1
0
        public AutAccidenteCollection FetchByQuery(Query qry)
        {
            AutAccidenteCollection coll = new AutAccidenteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public AutAccidenteCollection FetchAll()
        {
            AutAccidenteCollection coll = new AutAccidenteCollection();
            Query qry = new Query(AutAccidente.Schema);

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