Ejemplo n.º 1
0
        public EmrPupilaCollection FetchByQuery(Query qry)
        {
            EmrPupilaCollection coll = new EmrPupilaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public EmrPupilaCollection FetchAll()
        {
            EmrPupilaCollection coll = new EmrPupilaCollection();
            Query qry = new Query(EmrPupila.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public EmrPupilaCollection FetchByID(object IdPupilas)
        {
            EmrPupilaCollection coll = new EmrPupilaCollection().Where("idPupilas", IdPupilas).Load();

            return(coll);
        }