Skip to content

DataAuditLogAttribute class

namespace: Serenity.Data   assembly: Serenity.Net.Services

Indicates whether the entity is audit logged: with no argument or true, it is, and with false, it is not, e.g. a table of a log or a queue when the audit log logs all the entities but the ones that opt out. The configuration of the audit log can still include or exclude an entity whatever its attribute says. This feature is only available in premium app.

[AttributeUsage(AttributeTargets.Class)]
public class DataAuditLogAttribute : Attribute
parameter description
value Whether the entity is audit logged, true by default.

Public Members

name description
DataAuditLogAttribute(…) Indicates whether the entity is audit logged: with no argument or true, it is, and with false, it is not, e.g. a table of a log or a queue when the audit log logs all the entities but the ones that opt out. The configuration of the audit log can still include or exclude an entity whatever its attribute says. This feature is only available in premium app.
Value { get; } Gets whether the entity is audit logged.

Remarks

Initializes a new instance of the DataAuditLogAttribute class.

See Also