public PnLogPlanillaCollection FetchByQuery(Query qry) { PnLogPlanillaCollection coll = new PnLogPlanillaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnLogPlanillaCollection FetchAll() { PnLogPlanillaCollection coll = new PnLogPlanillaCollection(); Query qry = new Query(PnLogPlanilla.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }