예제 #1
0
        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);
        }
예제 #2
0
        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;

            }
        }
예제 #3
0
 public ODSTemplate(ODSVO ods)
 {
     this.Id = BaseTemplate.ODS_TEMPLATE;
     this._ods = ods;
 }