Esempio n. 1
0
        public RisProfesionCollection FetchByQuery(Query qry)
        {
            RisProfesionCollection coll = new RisProfesionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public RisProfesionCollection FetchAll()
        {
            RisProfesionCollection coll = new RisProfesionCollection();
            Query qry = new Query(RisProfesion.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public RisProfesionCollection FetchByID(object IdProfesion)
        {
            RisProfesionCollection coll = new RisProfesionCollection().Where("idProfesion", IdProfesion).Load();

            return(coll);
        }