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); }
public ConAgendaCollection FetchByID(object IdAgenda) { ConAgendaCollection coll = new ConAgendaCollection().Where("idAgenda", IdAgenda).Load(); return(coll); }