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

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

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

            return(coll);
        }