Class ClientQueryExtensions
Extension methods for queries
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class ClientQueryExtensions
Methods
AppendQueryString(CaseChangeQuery, string)
Append the given object query key and value to the URI
Declaration
public static string AppendQueryString(this CaseChangeQuery query, string uri)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseChangeQuery | query | |
| string | uri | The base URI |
Returns
| Type | Description |
|---|---|
| string | The combined result |
AppendQueryString(CaseValueQuery, string)
Append the given object query key and value to the URI
Declaration
public static string AppendQueryString(this CaseValueQuery query, string uri)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseValueQuery | query | The query to append |
| string | uri | The base URI |
Returns
| Type | Description |
|---|---|
| string | The combined result |
AppendQueryString(DivisionQuery, string)
Append the given object query key and value to the URI
Declaration
public static string AppendQueryString(this DivisionQuery query, string uri)
Parameters
| Type | Name | Description |
|---|---|---|
| DivisionQuery | query | The query to append |
| string | uri | The base URI |
Returns
| Type | Description |
|---|---|
| string | The combined result |
AppendQueryString(PayrollCaseChangeQuery, string)
Append the given object query key and value to the URI
Declaration
public static string AppendQueryString(this PayrollCaseChangeQuery query, string uri)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollCaseChangeQuery | query | The query to append |
| string | uri | The base URI |
Returns
| Type | Description |
|---|---|
| string | The combined result |
AppendQueryString(ReportTemplateQuery, string)
Append the given object query key and value to the URI
Declaration
public static string AppendQueryString(this ReportTemplateQuery query, string uri)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportTemplateQuery | query | The query to append |
| string | uri | The base URI |
Returns
| Type | Description |
|---|---|
| string | The combined result |
BuildQueryString(CaseChangeQuery, string, QueryResultType?)
Build a case change query
Declaration
public static string BuildQueryString(this CaseChangeQuery query, string uri, QueryResultType? resultType = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CaseChangeQuery | query | |
| string | uri | The base URI |
| QueryResultType? | resultType | The result type |
Returns
| Type | Description |
|---|---|
| string | The combined result |