Class AuditData
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class AuditData : IAuditData, INotifyPropertyChanging, INotifyPropertyChanged
Constructors
AuditData()
Declaration
Properties
AccountID
The account id this item belongs to
Declaration
[Key]
public long AccountID { get; set; }
Property Value
Action
The type of change that was made to the item (Insert, Update, Delete, or Lock)
Declaration
public AuditAction Action { get; set; }
Property Value
Declaration
[NotMapped]
public string Action_Tooltip { get; set; }
Property Value
AuditObjectType
The unique global id of the entity type with changes
Declaration
public Guid AuditObjectType { get; set; }
Property Value
ID
The unique global id of this item
Declaration
[Key]
public Guid ID { get; set; }
Property Value
ItemPropName
The name of the property that changed
Declaration
[Key]
public string ItemPropName { get; set; }
Property Value
Label
Declaration
public string Label { get; set; }
Property Value
LastUpdated
The date/time stamp this change occured on
Declaration
[Key]
public DateTimeOffset LastUpdated { get; set; }
Property Value
LinkType
If this property holds a realtionship link to another item, this holds the if for that entity type that it links to
Declaration
public Guid? LinkType { get; set; }
Property Value
ModifiedByUserID
The user who made the change
Declaration
public Guid ModifiedByUserID { get; set; }
Property Value
ModifiedByUserID_Label
Holds the name of the user that made the change
Declaration
public string ModifiedByUserID_Label { get; set; }
Property Value
NewLink
If this property holds a relationship link to another item, this holds the id of the item after the change
Declaration
public Guid? NewLink { get; set; }
Property Value
NewLink_Label
If this property is a link to another entity, this will hold the label of that item after the change so it is identifiable to the user
Declaration
public string NewLink_Label { get; set; }
Property Value
NewValue
The new value of the property after this change
If this property is a link to another entity, this will hold the label of that item so it is identifiable to the user
Declaration
public string NewValue { get; set; }
Property Value
OldLink
If this property holds a relationship link to another item, this holds the id of the item before the change
Declaration
public Guid? OldLink { get; set; }
Property Value
OldLink_Label
If this property is a link to another entity, this will hold the label of that item before the change so it is identifiable to the user
Declaration
public string OldLink_Label { get; set; }
Property Value
OldValue
The old value of the property before the change.
If this property is a link to another entity, this will hold the label of that item so it is identifiable to the user
Will be null if the change was an insert.
Declaration
public string OldValue { get; set; }
Property Value
Methods
OnPropertyChanged(string)
Declaration
protected void OnPropertyChanged(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
|
OnPropertyChanging(string)
Declaration
protected void OnPropertyChanging(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
PropertyChanging
Declaration
public event PropertyChangingEventHandler PropertyChanging
Event Type
Implements
Extension Methods