Beispiel #1
0
        private static ReportDataAccess GetReportDataAccess(ReportDataType reportDataType)
        {
            ReportDataAccess reportDataAccess = null;

            switch (reportDataType)
            {
            case ReportDataType.Coola:
                reportDataAccess = new CoolaReportDataAccess();
                break;

            default:
                break;
            }

            return(reportDataAccess);
        }
Beispiel #2
0
        public object Get(ReportParameters parameters)
        {
            ReportDataAccess reportDataAccess = ReportDataAccess.GetInstance(parameters.ReportName);

            return(reportDataAccess.Get(parameters));
        }