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

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

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

            return(coll);
        }