Search Results for

    Show / Hide Table of Contents

    Class EntityChange

    Inheritance
    System.Object
    EntityChange
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.Common.Delta
    Assembly: Xbim.Common.dll
    Syntax
    public class EntityChange

    Properties

    | Improve this Doc View Source

    ChangedProperties

    Changed properties within a scope of transaction. Current values are evaluated when you enumerate this property so make sure to ask for it before you do any further modifications. This property will return empty enumeration if ChangeType is anything else than 'Modified'.

    Declaration
    public IEnumerable<PropertyChange> ChangedProperties { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<PropertyChange>
    | Improve this Doc View Source

    ChangeType

    Prioritized log. Priorities are as follows: Deleted > New > Modified. This assumes that if entity is deleted at the end it is not very important what happened in the meantime. If it is new it is not that important if it was modified because full entity is interesting. Modifications are interesting in all other cases. Special case is entity which was created and deleted within a scope of one transaction but this should already be filtered out from the transaction log.

    Declaration
    public ChangeType ChangeType { get; }
    Property Value
    Type Description
    ChangeType
    | Improve this Doc View Source

    CurrentEntity

    Current string representation of the entity. This is computed dynamically when you ask for this so make sure not to ask for it after further modifications.

    Declaration
    public string CurrentEntity { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Entity

    Entity which changes are described in this log entry

    Declaration
    public IPersistEntity Entity { get; }
    Property Value
    Type Description
    IPersistEntity
    | Improve this Doc View Source

    OriginalEntity

    String representation of the entity before the first change was made to it. If this is a new entity this is empty string.

    Declaration
    public string OriginalEntity { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim