Workflow Engine .NET

Assembly: OptimaJet.Workflow.MySQL

Class WorkflowApprovalHistory

OptimaJet.Workflow.MySQL.WorkflowApprovalHistory

public class WorkflowApprovalHistory : DbObject<ApprovalHistoryEntity>

Inheritance

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

Constructors

public WorkflowApprovalHistory(int commandTimeout) #

Parameters

Name
Type
Description
commandTimeout
Int32

Methods

public static ApprovalHistoryEntity ToDB(ApprovalHistoryItem historyItem) #

Parameters

Name
Type
Description
historyItem
ApprovalHistoryItem

Returns

Type
Description
ApprovalHistoryEntity
public static ApprovalHistoryItem FromDB(ApprovalHistoryEntity historyItem) #

Parameters

Name
Type
Description
historyItem
ApprovalHistoryEntity

Returns

Type
Description
ApprovalHistoryItem
public Task<List<OutboxItem>> SelectOutboxByIdentityIdAsync(MySqlConnection connection, string identityId, Paging paging = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
identityId
String
paging
Paging

Returns

Type
Description
Task<OutboxItem>
public Task<int> GetOutboxCountByIdentityIdAsync(MySqlConnection connection, string identityId) #

Parameters

Name
Type
Description
connection
MySqlConnection
identityId
String

Returns

Type
Description
Task<Int32>
public Task<int> DeleteByProcessIdAsync(MySqlConnection connection, Guid processId, MySqlTransaction transaction = null) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid
transaction
MySqlTransaction

Returns

Type
Description
Task<Int32>
public Task<List<ApprovalHistoryEntity>> SelectByProcessIdAsync(MySqlConnection connection, Guid processId) #

Parameters

Name
Type
Description
connection
MySqlConnection
processId
Guid

Returns

Type
Description
Task<ApprovalHistoryEntity>
public Task<List<ApprovalHistoryEntity>> SelectByIdentityIdAsync(MySqlConnection connection, string identityId) #

Parameters

Name
Type
Description
connection
MySqlConnection
identityId
String

Returns

Type
Description
Task<ApprovalHistoryEntity>