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