Show / Hide Table of Contents

    Class EntityEvent

    A recorded event that can be re-applied to rebuild the entity status.

    Inheritance
    object
    EntityEvent
    Implements
    IEntityEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Domain
    Assembly: Silverback.EventSourcing.dll
    Syntax
    public abstract class EntityEvent : IEntityEvent

    Properties

    | Improve this doc View source

    Sequence

    Gets or sets the sequence number that is used to replay the messages in the right order.

    Declaration
    [JsonIgnore]
    public int Sequence { get; set; }
    Property Value
    Type Description
    int
    | Improve this doc View source

    Timestamp

    Gets or sets the datetime when the event occured.

    Declaration
    [JsonIgnore]
    public DateTime Timestamp { get; set; }
    Property Value
    Type Description
    DateTime

    Implements

    IEntityEvent
    • Improve this doc
    • View source
    In this article
    • Properties
      • Sequence
      • Timestamp
    • Implements
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini