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

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

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