Ejemplo n.º 1
0
        public object Execute(object param, ref string strObjectGuids)
        {
            string clsType = string.Format("{0}_MSSQL",
                                           ReportCommon.ReportCommon.GetReportDAO_ImplementClass_PrefixName(this.GetType()));

            Type          type    = Type.GetType(clsType);
            IReportNewDAO iRptDAO = Activator.CreateInstance(type) as IReportNewDAO;

            return(iRptDAO.Execute(param, ref strObjectGuids));
        }
Ejemplo n.º 2
0
        public object Execute(object param, ref string strObjectGuids)
        {
            using (RisDAL oKodak = new RisDAL())
            {
                string clsType = string.Format("{0}_{1}", this.GetType().ToString(), oKodak.DriverClassName.ToUpper());

                Type          type    = Type.GetType(clsType);
                IReportNewDAO iRptDAO = Activator.CreateInstance(type) as IReportNewDAO;
                return(iRptDAO.Execute(param, ref strObjectGuids));
            }
        }