Class WorkflowApprovalHistory
OptimaJet.Workflow.DbPersistence.WorkflowApprovalHistory
Namespace: OptimaJet.Workflow.DbPersistence
public class WorkflowApprovalHistory : DbObject<ApprovalHistoryEntity>Inheritance
- System.Object
- OptimaJet.Workflow.DbPersistence.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 historyItem) #Parameters
Name
Type
Description
historyItemApprovalHistoryEntityReturns
Type
Description
ApprovalHistoryItempublic Task<List<OutboxItem>> SelectOutboxByIdentityIdAsync(SqlConnection connection, string identityId, Paging paging = null) #Parameters
Name
Type
Description
connectionSqlConnectionidentityIdStringpagingPagingReturns
Type
Description
Task<OutboxItem>public Task<int> GetOutboxCountByIdentityIdAsync(SqlConnection connection, string identityId) #Parameters
Name
Type
Description
connectionSqlConnectionidentityIdStringReturns
Type
Description
Task<Int32>public Task<int> DeleteByProcessIdAsync(SqlConnection connection, Guid processId, SqlTransaction transaction = null) #Parameters
Name
Type
Description
connectionSqlConnectionprocessIdGuidtransactionSqlTransactionReturns
Type
Description
Task<Int32>public Task<List<ApprovalHistoryEntity>> SelectByProcessIdAsync(SqlConnection connection, Guid processId) #Parameters
Name
Type
Description
connectionSqlConnectionprocessIdGuidReturns
Type
Description
Task<ApprovalHistoryEntity>public Task<List<ApprovalHistoryEntity>> SelectByIdentityIdAsync(SqlConnection connection, string identityId) #Parameters
Name
Type
Description
connectionSqlConnectionidentityIdStringReturns
Type
Description
Task<ApprovalHistoryEntity>