Skip to main content

AuditBase

Useful base Data Model class for entities you want to maintain Audit information for. Property names match conventions used to populate Audit info in [AutoApply(Behavior.Audit*)]

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
[DataContract]
public abstract class AuditBase

Properties

CreatedDate

View Source
Declaration
[DataMember(Order = 1)]
public DateTime CreatedDate { get; set; }

CreatedBy

View Source
Declaration
[DataMember(Order = 2)]
public string CreatedBy { get; set; }

ModifiedDate

View Source
Declaration
[DataMember(Order = 3)]
public DateTime ModifiedDate { get; set; }

ModifiedBy

View Source
Declaration
[DataMember(Order = 4)]
public string ModifiedBy { get; set; }

DeletedDate

View Source
Declaration
[DataMember(Order = 5)]
[Index]
public DateTime? DeletedDate { get; set; }

DeletedBy

View Source
Declaration
[DataMember(Order = 6)]
public string DeletedBy { get; set; }