public PnLogPacPapCollection FetchByQuery(Query qry) { PnLogPacPapCollection coll = new PnLogPacPapCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnLogPacPapCollection FetchAll() { PnLogPacPapCollection coll = new PnLogPacPapCollection(); Query qry = new Query(PnLogPacPap.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnLogPacPapCollection FetchByID(object IdLogPacPap) { PnLogPacPapCollection coll = new PnLogPacPapCollection().Where("id_log_pac_pap", IdLogPacPap).Load(); return(coll); }