예제 #1
0
        public PnFeriadoCollection FetchByQuery(Query qry)
        {
            PnFeriadoCollection coll = new PnFeriadoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PnFeriadoCollection FetchAll()
        {
            PnFeriadoCollection coll = new PnFeriadoCollection();
            Query qry = new Query(PnFeriado.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public PnFeriadoCollection FetchByID(object IdFecha)
        {
            PnFeriadoCollection coll = new PnFeriadoCollection().Where("id_fecha", IdFecha).Load();

            return(coll);
        }