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

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

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

            return(coll);
        }