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()
PrefixConversionSignature
this.PrefixConversion
FactorySignature
this.Factory
StartingEventSignature
this.StartingEvent

Summary

NameSignatureSynopsis
``.ctor``SagaDefinition()No description available.
PrefixConversionthis.PrefixConversionHow to derive saga entity ID from source entity ID.
Factorythis.FactoryFactory function to create entity reference from entity ID
StartingEventthis.StartingEventThe event to send to start the saga

``.ctor``

SagaDefinition()
Member

Returns

SagaDefinition

PrefixConversion

this.PrefixConversion
Member
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 SagaStarter Continue→SagaCheckDone handshake.

Returns

PrefixConversion

Factory

this.Factory
Member
Factory function to create entity reference from entity ID

Returns

AggregateFactory

StartingEvent

this.StartingEvent
Member
The event to send to start the saga

Returns

obj