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