Interface IReportEndRuntime
Runtime for the report end function ReportEndFunction
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Runtime
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public interface IReportEndRuntime : IReportRuntime, IRuntime
Properties
DataSet
Gets the report data set
Declaration
DataSet DataSet { get; }
Property Value
| Type | Description |
|---|---|
| DataSet |
Methods
ExecuteMergeQuery(string, string, string, string, Dictionary<string, string>, int)
Execute a query on the Api web method and merge the table to the set
Declaration
DataTable ExecuteMergeQuery(string tableName, string methodName, string culture, string mergeColumn, Dictionary<string, string> parameters, int schemaChange)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | Target table name |
| string | methodName | The query name |
| string | culture | The content culture |
| string | mergeColumn | The column used to merge (primary key column) |
| Dictionary<string, string> | parameters | The method parameters |
| int | schemaChange | Action to take when the required data column is missing DataMergeSchemaChange |
Returns
| Type | Description |
|---|---|
| DataTable | New or expanded data table |
ExecuteQuery(string, string, string, Dictionary<string, string>, bool)
Execute a query on the Api web method and add the table to the set
Declaration
DataTable ExecuteQuery(string tableName, string methodName, string culture, Dictionary<string, string> parameters, bool resultQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tableName | Target table name |
| string | methodName | The query name |
| string | culture | The content culture |
| Dictionary<string, string> | parameters | The method parameters |
| bool | resultQuery | Add query table to the data set |
Returns
| Type | Description |
|---|---|
| DataTable | Resulting data table, existing will be removed |