DapperMaticAuditEvent
Namespace: MJCZone.DapperMatic.AspNetCore.Auditing
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
Represents an audit event for a DapperMatic operation.
public
Contents
Constructors (1) | Methods (4) | Properties (15)
Constructors
DapperMaticAuditEvent
DapperMaticAuditEvent()Methods
GetType
GetType()ToString
ToString()Equals
Equals()GetHashCode
GetHashCode()Properties
UserIdentifier
Gets or sets the identifier of the user who performed the operation.
Type: string
Operation
Gets or sets the operation that was performed (e.g., "datasources/post", "tables/put").
Type: string
DatasourceId
Gets or sets the name of the datasource involved in the operation, if applicable.
Type: string?
SchemaName
Gets or sets the name of the schema involved in the operation, if applicable.
Type: string?
TableName
Gets or sets the name of the table being accessed, if applicable.
Type: string?
ViewName
Gets or sets the name of the view being accessed, if applicable.
Type: string?
ColumnNames
Gets or sets the name of the columns being accessed, if applicable.
Type: List<string>?
IndexName
Gets or sets the name of the index being accessed, if applicable.
Type: string?
ConstraintName
Gets or sets the name of the constraint being accessed, if applicable.
Type: string?
Success
Gets or sets a value indicating whether the operation was successful.
Type: bool?
Message
Gets or sets the message describing the operation outcome.
Type: string?
Timestamp
Gets or sets the timestamp when the operation occurred.
Type: DateTimeOffset?
RequestId
Gets or sets the request ID for correlating logs.
Type: string?
IpAddress
Gets or sets the IP address of the client.
Type: string?
Properties
Gets or sets additional properties for custom audit information.
Type: Dictionary<string, object>