Interface IFromEventAttribute
- Assembly
- Cratis.Chronicle.dll
Defines an attribute that indicates that a read model or property is populated from an event.
public interface IFromEventAttribute : IEventBoundAttribute, IKeyedAttribute
- Inherited Members
- Extension Methods
Properties
ConstantKey
Gets a constant value to use as the key. All events of this type will update the same read model instance.
string? ConstantKey { get; }
Property Value
ParentKey
Gets the optional name of the property on the event that identifies the parent read model instance.
string? ParentKey { get; }