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