Пример #1
0
        public object Get(ReportParameters parameters)
        {
            ReportConfig reportConfig   = GetReportConfig(parameters.ReportName);
            string       query          = GetQuery(reportConfig.Query, parameters);
            object       connectionInfo = GetConnectionInfo(reportConfig.ReportDataType);

            return(GetData(query, connectionInfo));
        }
Пример #2
0
 protected abstract string GetQuery(string query, ReportParameters parameters);
Пример #3
0
        public object Get(ReportParameters parameters)
        {
            ReportDataAccess reportDataAccess = ReportDataAccess.GetInstance(parameters.ReportName);

            return(reportDataAccess.Get(parameters));
        }
Пример #4
0
 protected override string GetQuery(string query, ReportParameters parameters)
 {
     throw new NotImplementedException();
 }