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