Class Snapshot
Holds state information about an IAggregateRoot<TAuthenticationToken> for fast rehydration.
Inheritance
System.Object
Snapshot
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: Cqrs.Snapshots
Assembly: Cqrs.dll
Syntax
[Serializable]
public abstract class Snapshot
Properties
Id
The identifier of the IAggregateRoot<TAuthenticationToken> this holds information about.
Declaration
[DataMember]
public virtual Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Version
The version number the IAggregateRoot<TAuthenticationToken> was at when this snapshot was taken.
Declaration
[DataMember]
public virtual int Version { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |