Example #1
0
        public SysTipoProfesionalCollection FetchByQuery(Query qry)
        {
            SysTipoProfesionalCollection coll = new SysTipoProfesionalCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public SysTipoProfesionalCollection FetchAll()
        {
            SysTipoProfesionalCollection coll = new SysTipoProfesionalCollection();
            Query qry = new Query(SysTipoProfesional.Schema);

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