protected void Page_Load(object sender, EventArgs e) { ODSVO auxOds = new ODSVO(); //auxOds.name = "Fundacion Clamor en el Barrio"; auxOds = (ODSVO)EntityExtractor.create(EntityExtractor.ODS_EXTRACTOR).getDetails(33); ReportManager.Instance.createReport(auxOds, this); }
protected void Page_Load(object sender, EventArgs e) { switch (Request.QueryString["type"]) { case "company": CompanyVO auxEmp = new CompanyVO(); auxEmp = (CompanyVO)EntityExtractor.create(EntityExtractor.EMP_EXTRACTOR).getDetails(int.Parse(Request.QueryString["id"])); ReportManager.Instance.createReport(auxEmp, this, 1); break; case "ods": ODSVO auxOds = new ODSVO(); auxOds = (ODSVO)EntityExtractor.create(EntityExtractor.ODS_EXTRACTOR).getDetails(int.Parse(Request.QueryString["id"])); ReportManager.Instance.createReport(auxOds, this, 2); break; case "cooperant": CooperantVO auxCoop = new CooperantVO(); auxCoop = (CooperantVO)EntityExtractor.create(EntityExtractor.COOP_EXTRACTOR).getDetails(int.Parse(Request.QueryString["id"])); ReportManager.Instance.createReport(auxCoop, this, 3); break; } }
public ODSTemplate(ODSVO ods) { this.Id = BaseTemplate.ODS_TEMPLATE; this._ods = ods; }