예제 #1
0
        public SysProfesionCollection FetchByQuery(Query qry)
        {
            SysProfesionCollection coll = new SysProfesionCollection();

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

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

            return(coll);
        }