Example #1
0
        public PnMensajeCollection FetchByQuery(Query qry)
        {
            PnMensajeCollection coll = new PnMensajeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PnMensajeCollection FetchAll()
        {
            PnMensajeCollection coll = new PnMensajeCollection();
            Query qry = new Query(PnMensaje.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public PnMensajeCollection FetchByID(object IdMensaje)
        {
            PnMensajeCollection coll = new PnMensajeCollection().Where("id_mensaje", IdMensaje).Load();

            return(coll);
        }