Class WorkflowApprovalHistory
OptimaJet.Workflow.PostgreSQL.WorkflowApprovalHistory
Namespace: OptimaJet.Workflow.PostgreSQL
public class WorkflowApprovalHistory : DbObject<ApprovalHistoryEntity>Inheritance
- System.Object
- OptimaJet.Workflow.PostgreSQL.DbObject{OptimaJet.Workflow.Core.Entities.ApprovalHistoryEntity}
Constructors
public WorkflowApprovalHistory(string schemaName, int commandTimeout) #Parameters
Name
Type
Description
schemaNameStringcommandTimeoutInt32Methods
public static ApprovalHistoryEntity ToDB(ApprovalHistoryItem historyItem) #Parameters
Name
Type
Description
historyItemApprovalHistoryItemReturns
Type
Description
ApprovalHistoryEntitypublic static ApprovalHistoryItem FromDB(ApprovalHistoryEntity historyEntity) #Parameters
Name
Type
Description
historyEntityApprovalHistoryEntityReturns
Type
Description
ApprovalHistoryItempublic Task<List<OutboxItem>> SelectOutboxByIdentityIdAsync(NpgsqlConnection connection, string identityId, Paging paging = null) #Parameters
Name
Type
Description
connectionNpgsqlConnectionidentityIdStringpagingPagingReturns
Type
Description
Task<OutboxItem>public Task<int> GetOutboxCountByIdentityIdAsync(NpgsqlConnection connection, string identityId) #Parameters
Name
Type
Description
connectionNpgsqlConnectionidentityIdStringReturns
Type
Description
Task<Int32>public Task<int> DeleteByProcessIdAsync(NpgsqlConnection connection, Guid processId, NpgsqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidtransactionNpgsqlTransactionReturns
Type
Description
Task<Int32>public Task<List<ApprovalHistoryEntity>> SelectByProcessIdAsync(NpgsqlConnection connection, Guid processId) #Parameters
Name
Type
Description
connectionNpgsqlConnectionprocessIdGuidReturns
Type
Description
Task<ApprovalHistoryEntity>public Task<List<ApprovalHistoryEntity>> SelectByIdentityIdAsync(NpgsqlConnection connection, string identityId) #Parameters
Name
Type
Description
connectionNpgsqlConnectionidentityIdStringReturns
Type
Description
Task<ApprovalHistoryEntity>