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

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

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

            return(coll);
        }