Class AuditRecord
- Namespace
- ProjectTemplate.Infrastructure.Data.Entities
- Assembly
- ProjectTemplate.Infrastructure.dll
public class AuditRecord : DataEntity
- Inheritance
-
AuditRecord
- Inherited Members
Properties
ActorId
Gets or sets the stable machine-readable actor identifier.
public string ActorId { get; set; }
Property Value
ActorType
Gets or sets the actor type, such as Human, Service, System, Network, or Unknown.
public string ActorType { get; set; }
Property Value
Application
The name of the application or service that made the change. It can be used to group changes by application or service, and to identify which application or service is responsible for a change. It should be unique enough to identify the source of the change, but it does not have to be globally unique.
public string Application { get; set; }
Property Value
CorrelationId
Gets or sets the request or workflow correlation identifier.
public string? CorrelationId { get; set; }
Property Value
CurrentValues
The current values of the entity after the change. It can be used to identify what the values are after the change, and to compare them with the original values before the change. It should be a string that represents the current values of the entity, such as a JSON object or a comma-separated list of key-value pairs.
public string CurrentValues { get; set; }
Property Value
DecisionAuditRecordId
Gets or sets the identifier of the related policy decision audit record, when supplied by the host.
public string? DecisionAuditRecordId { get; set; }
Property Value
Entity
The name of the entity that was changed. It can be used to group changes by entity type, and to identify which entity was changed. It should be unique enough to identify the type of entity that was changed, but it does not have to be globally unique.
public string Entity { get; set; }
Property Value
ExecutionAttemptId
Gets or sets the host-owned identifier for a particular retry or execution attempt.
public string? ExecutionAttemptId { get; set; }
Property Value
KeyValues
The key values of the entity that was changed. It can be used to identify which specific entity was changed, and to link the audit record to the entity. It should be a string that represents the key values of the entity, such as a JSON object or a comma-separated list of key-value pairs.
public string KeyValues { get; set; }
Property Value
ModifiedBy
The user, system or remote IP address that made the change. It can be a username, an email address, or a system identifier. It should be unique enough to identify the source of the change, but it does not have to be globally unique.
public string ModifiedBy { get; set; }
Property Value
ModifiedOnUtc
The date and time when the change was made, in Coordinated Universal Time (UTC). It should be stored in UTC to avoid issues with time zones and daylight saving time. When displaying the date and time to users, it can be converted to their local time zone as needed.
public DateTime ModifiedOnUtc { get; set; }
Property Value
MutationBatchId
Gets or sets the identifier that groups all audit records created by one logical save operation.
public string MutationBatchId { get; set; }
Property Value
OperationExecutionId
Gets or sets the host-owned identifier for the governed operation execution.
public string? OperationExecutionId { get; set; }
Property Value
OrganizationHash
Gets or sets an optional privacy-preserving organization hash.
public string? OrganizationHash { get; set; }
Property Value
OriginalValues
The original values of the entity before the change. It can be used to identify what the values were before the change, and to compare them with the current values after the change. It should be a string that represents the original values of the entity, such as a JSON object or a comma-separated list of key-value pairs.
public string OriginalValues { get; set; }
Property Value
SchemaVersion
Gets or sets the schema version for this audit record.
public string SchemaVersion { get; set; }
Property Value
SpanId
Gets or sets the distributed span identifier.
public string? SpanId { get; set; }
Property Value
State
The state of the entity after the change. It can be used to identify whether the entity was created, updated, or deleted. It should be a string that represents the state of the entity, such as "Created", "Updated", or "Deleted".
public string State { get; set; }
Property Value
TenantHash
Gets or sets an optional privacy-preserving tenant hash.
public string? TenantHash { get; set; }
Property Value
TraceId
Gets or sets the distributed trace identifier.
public string? TraceId { get; set; }