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