Search Results for

    Show / Hide Table of Contents

    Class AuditData

    Inheritance
    object
    AuditData
    Implements
    IAuditData
    INotifyPropertyChanging
    INotifyPropertyChanged
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Entities.Data
    Assembly: LemonEdge.API.Entities.Auto.dll
    Syntax
    [DataContract]
    public class AuditData : IAuditData, INotifyPropertyChanging, INotifyPropertyChanged

    Constructors

    AuditData()

    Declaration
    public AuditData()

    Properties

    AccountID

    The account id this item belongs to

    Declaration
    [Key]
    public long AccountID { get; set; }
    Property Value
    Type Description
    long

    Action

    The type of change that was made to the item (Insert, Update, Delete, or Lock)

    Declaration
    public AuditAction Action { get; set; }
    Property Value
    Type Description
    AuditAction

    Action_Tooltip

    Declaration
    [NotMapped]
    public string Action_Tooltip { get; set; }
    Property Value
    Type Description
    string

    AuditObjectType

    The unique global id of the entity type with changes

    Declaration
    public Guid AuditObjectType { get; set; }
    Property Value
    Type Description
    Guid

    ID

    The unique global id of this item

    Declaration
    [Key]
    public Guid ID { get; set; }
    Property Value
    Type Description
    Guid

    ItemPropName

    The name of the property that changed

    Declaration
    [Key]
    public string ItemPropName { get; set; }
    Property Value
    Type Description
    string

    Label

    The label of this item

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    string

    LastUpdated

    The date/time stamp this change occured on

    Declaration
    [Key]
    public DateTimeOffset LastUpdated { get; set; }
    Property Value
    Type Description
    DateTimeOffset

    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
    Type Description
    Guid?

    ModifiedByUserID

    The user who made the change

    Declaration
    public Guid ModifiedByUserID { get; set; }
    Property Value
    Type Description
    Guid

    ModifiedByUserID_Label

    Holds the name of the user that made the change

    Declaration
    public string ModifiedByUserID_Label { get; set; }
    Property Value
    Type Description
    string

    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
    Type Description
    Guid?

    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
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    Guid?

    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
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    string
    Overrides
    object.ToString()

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    PropertyChanging

    Declaration
    public event PropertyChangingEventHandler PropertyChanging
    Event Type
    Type Description
    PropertyChangingEventHandler

    Implements

    IAuditData
    INotifyPropertyChanging
    INotifyPropertyChanged

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.