Class WorkflowProcessTimer
OptimaJet.Workflow.MySQL.WorkflowProcessTimer
Namespace: OptimaJet.Workflow.MySQL
public class WorkflowProcessTimer : DbObject<ProcessTimerEntity>Inheritance
- System.Object
- OptimaJet.Workflow.MySQL.DbObject{OptimaJet.Workflow.Core.Entities.ProcessTimerEntity}
Constructors
public WorkflowProcessTimer(int commandTimeout) #Parameters
Name
Type
Description
commandTimeoutInt32Methods
public Task<int> DeleteInactiveByProcessIdAsync(MySqlConnection connection, Guid processId, MySqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionMySqlConnectionprocessIdGuidtransactionMySqlTransactionReturns
Type
Description
Task<Int32>public Task<int> DeleteByProcessIdAsync(MySqlConnection connection, Guid processId, List<string> timersIgnoreList = null, MySqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionMySqlConnectionprocessIdGuidtimersIgnoreListList<String>transactionMySqlTransactionReturns
Type
Description
Task<Int32>public Task<ProcessTimerEntity> SelectByProcessIdAndNameAsync(MySqlConnection connection, Guid processId, string name) #Parameters
Name
Type
Description
connectionMySqlConnectionprocessIdGuidnameStringReturns
Type
Description
Task<ProcessTimerEntity>public Task<IEnumerable<ProcessTimerEntity>> SelectByProcessIdAsync(MySqlConnection connection, Guid processId) #Parameters
Name
Type
Description
connectionMySqlConnectionprocessIdGuidReturns
Type
Description
Task<ProcessTimerEntity>public Task<IEnumerable<ProcessTimerEntity>> SelectActiveByProcessIdAsync(MySqlConnection connection, Guid processId) #Parameters
Name
Type
Description
connectionMySqlConnectionprocessIdGuidReturns
Type
Description
Task<ProcessTimerEntity>public Task<int> SetTimerIgnoreAsync(MySqlConnection connection, Guid timerId, MySqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionMySqlConnectiontimerIdGuidtransactionMySqlTransactionReturns
Type
Description
Task<Int32>public Task<ProcessTimerEntity[]> GetTopTimersToExecuteAsync(MySqlConnection connection, int top, DateTime now) #Parameters
Name
Type
Description
connectionMySqlConnectiontopInt32nowDateTimeReturns
Type
Description
Task<ProcessTimerEntity[]>