Пример #1
0
        public PnServicioCollection FetchByQuery(Query qry)
        {
            PnServicioCollection coll = new PnServicioCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnServicioCollection FetchAll()
        {
            PnServicioCollection coll = new PnServicioCollection();
            Query qry = new Query(PnServicio.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnServicioCollection FetchByID(object IdServicio)
        {
            PnServicioCollection coll = new PnServicioCollection().Where("id_servicio", IdServicio).Load();

            return(coll);
        }