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