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

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

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