Class WorkflowProcessTimer
OptimaJet.Workflow.PostgreSQL.WorkflowProcessTimer
Namespace: OptimaJet.Workflow.PostgreSQL
public class WorkflowProcessTimer : DbObject<ProcessTimerEntity>Inheritance
- System.Object
- OptimaJet.Workflow.PostgreSQL.DbObject{OptimaJet.Workflow.Core.Entities.ProcessTimerEntity}
Constructors
public WorkflowProcessTimer(string schemaName, int commandTimeout) #Parameters
Name
Type
Description
schemaNameStringcommandTimeoutInt32Methods
public Task<int> DeleteInactiveByProcessIdAsync(NpgsqlConnection connection, Guid processId, NpgsqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidtransactionNpgsqlTransactionReturns
Type
Description
Task<Int32>public Task<int> DeleteByProcessIdAsync(NpgsqlConnection connection, Guid processId, List<string> timersIgnoreList = null, NpgsqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidtimersIgnoreListList<String>transactionNpgsqlTransactionReturns
Type
Description
Task<Int32>public Task<ProcessTimerEntity> SelectByProcessIdAndNameAsync(NpgsqlConnection connection, Guid processId, string name) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidnameStringReturns
Type
Description
Task<ProcessTimerEntity>public Task<IEnumerable<ProcessTimerEntity>> SelectByProcessIdAsync(NpgsqlConnection connection, Guid processId) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidReturns
Type
Description
Task<ProcessTimerEntity>public Task<IEnumerable<ProcessTimerEntity>> SelectActiveByProcessIdAsync(NpgsqlConnection connection, Guid processId) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidReturns
Type
Description
Task<ProcessTimerEntity>public Task<int> SetTimerIgnoreAsync(NpgsqlConnection connection, Guid timerId) #Parameters
Name
Type
Description
connectionNpgsqlConnectiontimerIdGuidReturns
Type
Description
Task<Int32>public Task<ProcessTimerEntity[]> GetTopTimersToExecuteAsync(NpgsqlConnection connection, int top, DateTime now) #Parameters
Name
Type
Description
connectionNpgsqlConnectiontopInt32nowDateTimeReturns
Type
Description
Task<ProcessTimerEntity[]>