Class ReportStartController<TFunc>
Report start function controller
Inheritance
ReportStartController<TFunc>
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Function.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class ReportStartController<TFunc> : ReportFunctionController<TFunc, ReportStartFunctionAttribute, ReportStartScriptAttribute> where TFunc : ReportStartFunction
Type Parameters
| Name | Description |
|---|---|
| TFunc |
Constructors
View SourceReportStartController(PayrollHttpClient)
Initializes a new instance of the ReportStartController<TFunc> class
Declaration
public ReportStartController(PayrollHttpClient httpClient)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http client |
Properties
View SourceExecuteQueries
Store query results to the DataSet
Declaration
public bool ExecuteQueries { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceExecute(ReportSet)
Report start
Declaration
public ReportStartFunctionResult Execute(ReportSet report)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportSet | report | The report |
Returns
| Type | Description |
|---|---|
| ReportStartFunctionResult |
Execute(ReportSet, ReportRequest)
Report start
Declaration
public ReportStartFunctionResult Execute(ReportSet report, ReportRequest reportRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportSet | report | The report |
| ReportRequest | reportRequest | The report request |
Returns
| Type | Description |
|---|---|
| ReportStartFunctionResult |
Execute(string)
Report start
Declaration
public ReportStartFunctionResult Execute(string reportName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reportName | Name of the report |
Returns
| Type | Description |
|---|---|
| ReportStartFunctionResult |
Execute(string, ReportRequest)
Report start
Declaration
public ReportStartFunctionResult Execute(string reportName, ReportRequest reportRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| string | reportName | Name of the report |
| ReportRequest | reportRequest | The report request |
Returns
| Type | Description |
|---|---|
| ReportStartFunctionResult |