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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public SysDepartamentoCollection FetchAll()
        {
            SysDepartamentoCollection coll = new SysDepartamentoCollection();
            Query qry = new Query(SysDepartamento.Schema);

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