public PnTipoEventoCollection FetchByQuery(Query qry) { PnTipoEventoCollection coll = new PnTipoEventoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnTipoEventoCollection FetchAll() { PnTipoEventoCollection coll = new PnTipoEventoCollection(); Query qry = new Query(PnTipoEvento.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnTipoEventoCollection FetchByID(object IdTipoEvento) { PnTipoEventoCollection coll = new PnTipoEventoCollection().Where("id_tipo_evento", IdTipoEvento).Load(); return(coll); }