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