Esempio n. 1
0
        public PnPrestacionCollection FetchByQuery(Query qry)
        {
            PnPrestacionCollection coll = new PnPrestacionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public PnPrestacionCollection FetchAll()
        {
            PnPrestacionCollection coll = new PnPrestacionCollection();
            Query qry = new Query(PnPrestacion.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public PnPrestacionCollection FetchByID(object IdPrestacion)
        {
            PnPrestacionCollection coll = new PnPrestacionCollection().Where("id_prestacion", IdPrestacion).Load();

            return(coll);
        }