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

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

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

            return(coll);
        }