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