public SysTipoProfesionalCollection FetchByQuery(Query qry) { SysTipoProfesionalCollection coll = new SysTipoProfesionalCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysTipoProfesionalCollection FetchAll() { SysTipoProfesionalCollection coll = new SysTipoProfesionalCollection(); Query qry = new Query(SysTipoProfesional.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }