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