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

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

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

            return(coll);
        }