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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PnServicioCollection FetchAll()
        {
            PnServicioCollection coll = new PnServicioCollection();
            Query qry = new Query(PnServicio.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public PnServicioCollection FetchByID(object IdServicio)
        {
            PnServicioCollection coll = new PnServicioCollection().Where("id_servicio", IdServicio).Load();

            return(coll);
        }