Пример #1
0
        public PnPeriodoCollection FetchByQuery(Query qry)
        {
            PnPeriodoCollection coll = new PnPeriodoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnPeriodoCollection FetchAll()
        {
            PnPeriodoCollection coll = new PnPeriodoCollection();
            Query qry = new Query(PnPeriodo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnPeriodoCollection FetchByID(object IdPeriodo)
        {
            PnPeriodoCollection coll = new PnPeriodoCollection().Where("id_periodo", IdPeriodo).Load();

            return(coll);
        }