ea9f8f38bd10abab75177fea1fffbb693cf30b25
API/AdHocConfig.md
| ... | ... | @@ -112,13 +112,13 @@ public override string GetReportNameById(string id) |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | // Method called after ReportSet was executed |
| 115 | -public override void PostExecuteReportSet(ReportSet reportSet) |
|
| 115 | +public override void PostExecuteReportSet(Izenda.AdHoc.ReportSet reportSet) |
|
| 116 | 116 | { |
| 117 | 117 | reportSet.WriteXml(); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | // Method called after reportSet was loaded |
| 121 | -public override void PostLoadReportSet(string name, ReportSet reportSet) |
|
| 121 | +public override void PostLoadReportSet(string name, Izenda.AdHoc.ReportSet reportSet) |
|
| 122 | 122 | { |
| 123 | 123 | base.PostLoadReportSet(name, reportSet); |
| 124 | 124 | } |
| ... | ... | @@ -144,14 +144,14 @@ public override void SaveReportRDL(string reportName) |
| 144 | 144 | File.WriteAllText( rdlFilePath, builder.ToString()); |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | -// Returns a list of reports to the reprt viewr and all report list dropdowns |
|
| 147 | +// Returns a list of reports to the report viewer and all report list dropdowns |
|
| 148 | 148 | public override ReportInfo[] ListReports() |
| 149 | 149 | { |
| 150 | 150 | return new ReportInfo[] { new ReportInfo("report 1"), new ReportInfo("report 2") }; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | // Runs after report export to allow archiving |
| 154 | -public override void ArchiveReportOutput(ReportSet reportSet, |
|
| 154 | +public override void ArchiveReportOutput(Izenda.AdHoc.ReportSet reportSet, |
|
| 155 | 155 | string[] emails, |
| 156 | 156 | string extension, |
| 157 | 157 | byte[] data) |
| ... | ... | @@ -161,18 +161,18 @@ public override void ArchiveReportOutput(ReportSet reportSet, |
| 161 | 161 | bw.Write(data); |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | -// This method overrides the default behavor of the Equals(...) |
|
| 164 | +// This method overrides the default behavior of the Equals(...) |
|
| 165 | 165 | // operators in the filters tab and report viewer. |
| 166 | 166 | // If using Equals(...) with stored procedures, this is required. |
| 167 | -public override string[] ProcessEqualsSelectList(Column column) |
|
| 167 | +public override string[] ProcessEqualsSelectList(Izenda.AdHoc.Database.Column column) |
|
| 168 | 168 | { |
| 169 | 169 | if (column.Name == "ParameterField") |
| 170 | 170 | return new string[] { "Value1", "Value2", "Value3" }; |
| 171 | 171 | return base.ProcessEqualsSelectList(column); |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | -// Control what operators are availabile for each field type in the Filters tab or report viewer |
|
| 175 | -public override string[] GetOperatorList(SqlType type, bool isStoredProcedureUsed) |
|
| 174 | +// Control what operators are available for each field type in the Filters tab or report viewer |
|
| 175 | +public override string[] GetOperatorList(Izenda.AdHoc.Database.SqlType type, bool isStoredProcedureUsed) |
|
| 176 | 176 | { |
| 177 | 177 | string[] result = base.GetOperatorList(type, isStoredProcedureUsed); |
| 178 | 178 | string[] cutResult = new string[result.Length / 2]; |
| ... | ... | @@ -189,7 +189,7 @@ public override ReportSet LoadReportSet(string reportName) |
| 189 | 189 | return rs; |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | -public override void SaveReportSet(string reportName, ReportSet reportSet) |
|
| 192 | +public override void SaveReportSet(string reportName, Izenda.AdHoc.ReportSet reportSet) |
|
| 193 | 193 | { |
| 194 | 194 | using (StreamWriter sw = new StreamWriter(reportName + ".xml")) |
| 195 | 195 | sw.Write(reportSet.WriteXml()); |
| ... | ... | @@ -233,7 +233,7 @@ public override System.Drawing.Image CustomizeGuage(double value, |
| 233 | 233 | } |
| 234 | 234 | |
| 235 | 235 | // Dynamically modify the report before execution. |
| 236 | -public override void PreExecuteReportSet(ReportSet reportSet) |
|
| 236 | +public override void PreExecuteReportSet(Izenda.AdHoc.ReportSet reportSet) |
|
| 237 | 237 | { |
| 238 | 238 | reportSet.Footer = DateTime.Now.ToString(); |
| 239 | 239 | } |