示例#1
0
        public RisProfesionCollection FetchByQuery(Query qry)
        {
            RisProfesionCollection coll = new RisProfesionCollection();

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

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

            return(coll);
        }