SagaDefinitionType
PackageFCQRS
C#-friendly class for defining saga starters (uses class for C# object initializer syntax)
Specification
Kind
Type
Members
4
Examples
0
``.ctor``Signature
SagaDefinition()
FactorySignature
this.Factory
StartingEventSignature
this.StartingEvent
PrefixConversionSignature
this.PrefixConversion
Summary
| Name | Signature | Synopsis |
|---|---|---|
| ``.ctor`` | SagaDefinition() | No description available. |
| Factory | this.Factory | Factory function to create entity reference from entity ID |
| StartingEvent | this.StartingEvent | The event to send to start the saga. |
| PrefixConversion | this.PrefixConversion | How to derive saga entity ID from source entity ID. |
Factory function to create entity reference from entity ID
Returns
AggregateFactory
The event to send to start the saga. Pass the originator's event unchanged: a saga
recovered before it leaves Started asks the originator whether this exact event
(its Id and Version) is the one it journaled, and ends when it is not.
Returns
obj
How to derive saga entity ID from source entity ID.
Defaults to identity (originatorId~Saga~correlationId). The previous default of
`PrefixConversion None` produced saga names without the ~Saga~ marker, which breaks
originator/saga name resolution and the saga-start handshake.
Returns
PrefixConversion