private static ReportDataAccess GetReportDataAccess(ReportDataType reportDataType) { ReportDataAccess reportDataAccess = null; switch (reportDataType) { case ReportDataType.Coola: reportDataAccess = new CoolaReportDataAccess(); break; default: break; } return(reportDataAccess); }
public object Get(ReportParameters parameters) { ReportDataAccess reportDataAccess = ReportDataAccess.GetInstance(parameters.ReportName); return(reportDataAccess.Get(parameters)); }