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