public PnEventoCollection FetchByQuery(Query qry) { PnEventoCollection coll = new PnEventoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnEventoCollection FetchAll() { PnEventoCollection coll = new PnEventoCollection(); Query qry = new Query(PnEvento.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnEventoCollection FetchByID(object IdEvento) { PnEventoCollection coll = new PnEventoCollection().Where("id_evento", IdEvento).Load(); return(coll); }