public PnAfjpCollection FetchByQuery(Query qry) { PnAfjpCollection coll = new PnAfjpCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnAfjpCollection FetchAll() { PnAfjpCollection coll = new PnAfjpCollection(); Query qry = new Query(PnAfjp.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnAfjpCollection FetchByID(object IdAfjp) { PnAfjpCollection coll = new PnAfjpCollection().Where("id_afjp", IdAfjp).Load(); return(coll); }