Exemplo n.º 1
0
        public PnPeriodoCollection FetchByQuery(Query qry)
        {
            PnPeriodoCollection coll = new PnPeriodoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PnPeriodoCollection FetchAll()
        {
            PnPeriodoCollection coll = new PnPeriodoCollection();
            Query qry = new Query(PnPeriodo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public PnPeriodoCollection FetchByID(object IdPeriodo)
        {
            PnPeriodoCollection coll = new PnPeriodoCollection().Where("id_periodo", IdPeriodo).Load();

            return(coll);
        }