public RisProfesionCollection FetchByQuery(Query qry) { RisProfesionCollection coll = new RisProfesionCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisProfesionCollection FetchAll() { RisProfesionCollection coll = new RisProfesionCollection(); Query qry = new Query(RisProfesion.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisProfesionCollection FetchByID(object IdProfesion) { RisProfesionCollection coll = new RisProfesionCollection().Where("idProfesion", IdProfesion).Load(); return(coll); }