How do I finalize a class based Saga, so that it is deleted from the SQL database (EF Core)?
- 阅读更多 关于 How do I finalize a class based Saga, so that it is deleted from the SQL database (EF Core)?
问题 I am trying to learn more about Mass Transit as we are thinking about adopting it. I now have the class based Saga below, which works as expected: public class EchoSaga : ISaga, InitiatedBy<TextEntered>, Orchestrates<TextEchoStart>, Orchestrates<EchoEnd> { public Guid CorrelationId { get; set; } public string CurrentState { get; set; } public string Text { get; set; } public Task Consume(ConsumeContext<TextEntered> context) { CurrentState = "Entered"; Text = context.Message.Text; return Task