An EventPropertyOperationModel describes what operation is performed on one of the projection's properties when the given event is handled. This can be an operation dependent on a source value from the event, or in the case of flags and counters it could be a simple operation based on the existence of the event being handled.

Properties
  • SourcePropertyName - The name of the property of the source event being handled that this operation is applied to when the event is handled. (This can be empty if the target is just incremented or decremented by 1 etc.)
  • TargetPropertyName - The name of the property of the projection that is updated by this operation.
  • Operation - The operation performed.

Currently the set of operations that can be performed are:
  • SetToValue - Set the projection property value to the event named property
  • IncrementCount - Increment the projection property as a counter
  • DecrementCount - Decrement the property as a counter
  • IncrementByValue - Increment the property by the value of an event's named property
  • DecrementByValue - Decrement the property by the value of an event's named property
  • SetFlag - Set a flag status type property
  • UnsetFlag - Reset/unset a flag status type property

Last edited May 17, 2015 at 6:47 PM by Merrion, version 1