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); }
public SysProfesionalCollection FetchByID(object IdProfesional) { SysProfesionalCollection coll = new SysProfesionalCollection().Where("idProfesional", IdProfesional).Load(); return(coll); }