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