Workflow Engine .NET

Assembly: OptimaJet.Workflow.MySQL

Class WorkflowScheme

OptimaJet.Workflow.MySQL.WorkflowScheme

public class WorkflowScheme : DbObject<SchemeEntity>

Inheritance

  • System.Object
  • OptimaJet.Workflow.MySQL.DbObject{OptimaJet.Workflow.Core.Entities.SchemeEntity}

Constructors

public WorkflowScheme(int commandTimeout) #

Parameters

Name
Type
Description
commandTimeout
Int32

Methods

public Task<SchemeEntity> SelectByCodeAsync(MySqlConnection connection, string code, string tenantId) #

Parameters

Name
Type
Description
connection
MySqlConnection
code
String
tenantId
String

Returns

Type
Description
Task<SchemeEntity>
public Task<SchemeEntity> SelectByCodeExactAsync(MySqlConnection connection, string code, string tenantId) #

Parameters

Name
Type
Description
connection
MySqlConnection
code
String
tenantId
String

Returns

Type
Description
Task<SchemeEntity>
public override Task<int> UpsertAsync(MySqlConnection connection, SchemeEntity entity, MySqlTransaction transaction = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
entity
SchemeEntity
transaction
MySqlTransaction

Returns

Type
Description
Task<Int32>
public Task<SchemeEntity[]> SelectAllWorkflowSchemesWithPagingAsync(MySqlConnection connection, List<(string parameterName, SortDirection sortDirection)> orderParameters, Paging paging) #

Parameters

Name
Type
Description
connection
MySqlConnection
orderParameters
List<SortDirection>
paging
Paging

Returns

Type
Description
Task<SchemeEntity[]>
public Task<List<string>> GetInlinedSchemeCodesAsync(MySqlConnection connection, string tenantId = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
tenantId
String

Returns

Type
Description
Task<String>
public Task<List<string>> GetRelatedSchemeCodesAsync(MySqlConnection connection, string schemeCode, string tenantId = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
schemeCode
String
tenantId
String

Returns

Type
Description
Task<String>
public Task<List<string>> GetSchemeCodesByTagsAsync(MySqlConnection connection, string tenantId, IEnumerable<string> tags) #

Parameters

Name
Type
Description
connection
MySqlConnection
tenantId
String
tags
IEnumerable<String>

Returns

Type
Description
Task<String>
public Task AddSchemeTagsAsync(MySqlConnection connection, string schemeCode, string tenantId, IEnumerable<string> tags, IWorkflowBuilder builder) #

Parameters

Name
Type
Description
connection
MySqlConnection
schemeCode
String
tenantId
String
tags
IEnumerable<String>
builder
IWorkflowBuilder

Returns

Type
Description
Task
public Task RemoveSchemeTagsAsync(MySqlConnection connection, string schemeCode, string tenantId, IEnumerable<string> tags, IWorkflowBuilder builder) #

Parameters

Name
Type
Description
connection
MySqlConnection
schemeCode
String
tenantId
String
tags
IEnumerable<String>
builder
IWorkflowBuilder

Returns

Type
Description
Task
public Task SetSchemeTagsAsync(MySqlConnection connection, string schemeCode, string tenantId, IEnumerable<string> tags, IWorkflowBuilder builder) #

Parameters

Name
Type
Description
connection
MySqlConnection
schemeCode
String
tenantId
String
tags
IEnumerable<String>
builder
IWorkflowBuilder

Returns

Type
Description
Task