Class ApplicationAuditedTransactionResult
- Namespace
- ProjectTemplate.Infrastructure.Data.Auditing
- Assembly
- ProjectTemplate.Infrastructure.dll
Summarizes an audited transaction execution without exposing audited entity values.
public sealed record ApplicationAuditedTransactionResult : IEquatable<ApplicationAuditedTransactionResult>
- Inheritance
-
ApplicationAuditedTransactionResult
- Implements
- Inherited Members
Constructors
ApplicationAuditedTransactionResult(int, int, ApplicationMutationAuditReceipt?, ApplicationAuditedTransactionOwnership, bool)
Summarizes an audited transaction execution without exposing audited entity values.
public ApplicationAuditedTransactionResult(int MutationSaveChangesCount, int CompletionSaveChangesCount, ApplicationMutationAuditReceipt? AuditReceipt, ApplicationAuditedTransactionOwnership Ownership, bool UsedSavepoint)
Parameters
MutationSaveChangesCountintThe number of state entries written by the mutation save.
CompletionSaveChangesCountintThe number of state entries written by the optional local completion save.
AuditReceiptApplicationMutationAuditReceiptThe mutation audit receipt produced by the mutation save, when auditing produced a batch.
OwnershipApplicationAuditedTransactionOwnershipThe database transaction ownership model used for the execution.
UsedSavepointboolWhether the coordinator created a savepoint inside an existing transaction.
Properties
AuditReceipt
The mutation audit receipt produced by the mutation save, when auditing produced a batch.
public ApplicationMutationAuditReceipt? AuditReceipt { get; init; }
Property Value
CommittedByCoordinator
Gets a value indicating whether the coordinator committed the database transaction before returning.
public bool CommittedByCoordinator { get; }
Property Value
CompletionSaveChangesCount
The number of state entries written by the optional local completion save.
public int CompletionSaveChangesCount { get; init; }
Property Value
MutationSaveChangesCount
The number of state entries written by the mutation save.
public int MutationSaveChangesCount { get; init; }
Property Value
Ownership
The database transaction ownership model used for the execution.
public ApplicationAuditedTransactionOwnership Ownership { get; init; }
Property Value
RequiresOuterCommit
Gets a value indicating whether the caller must still commit the existing outer transaction.
public bool RequiresOuterCommit { get; }
Property Value
UsedSavepoint
Whether the coordinator created a savepoint inside an existing transaction.
public bool UsedSavepoint { get; init; }