AuditedAttribute class

namespace: Serenity.Data.Mapping   assemblySerenity.Net.Services

Indicates if the field is audited. For DataAuditLog, all fields are audited by default, but if the field has [Audited(false)] it will not be logged.

[AttributeUsage(AttributeTargets.Property)]
public class AuditedAttribute : Attribute

Public Members

name description
AuditedAttribute(…) Indicates if the field is audited. For DataAuditLog, all fields are audited by default, but if the field has [Audited(false)] it will not be logged.
Value { get; } Gets the value of the attribute

Remarks

Initializes a new instance of the attribute.

See Also