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

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

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

            return(coll);
        }