# Class WorkflowGlobalParameter OptimaJet.Workflow.MySQL.WorkflowGlobalParameter Namespace: [OptimaJet.Workflow.MySQL](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/) ```csharp public class WorkflowGlobalParameter : DbObject ``` ## Type Hierarchy - [DbObject](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/DbObject-TEntity/) - WorkflowGlobalParameter Current type ## Constructors `public WorkflowGlobalParameter(int commandTimeout)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `commandTimeout` | `Int32` | | ## Methods `public Task SelectByTypeAndNameAsync(MySqlConnection connection, string type, string name = null, Sorting sort = null, string tenantId = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `type` | `String` | | | `name` | `String` | | | `sort` | `Sorting` | | | `tenantId` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task SearchByTypeAndNameWithPagingAsync(MySqlConnection connection, string type, string name = null, Paging paging = null, Sorting sort = null, string tenantId = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `type` | `String` | | | `name` | `String` | | | `paging` | `Paging` | | | `sort` | `Sorting` | | | `tenantId` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task GetCountByTypeAndNameAsync(MySqlConnection connection, string type, string name = null, string tenantId = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `type` | `String` | | | `name` | `String` | | | `tenantId` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | `public Task DeleteByTypeAndNameAsync(MySqlConnection connection, string type, string name = null, string tenantId = null)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `connection` | `MySqlConnection` | | | `type` | `String` | | | `name` | `String` | | | `tenantId` | `String` | | ### Returns | Type | Description | | --- | --- | | `Task` | | [Previous WorkflowApprovalHistory](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/WorkflowApprovalHistory/) [Next WorkflowInbox](https://api.workflowengine.io/mysql/OptimaJet.Workflow.MySQL/WorkflowInbox/)