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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }