Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions guides/transactional-outbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@ This is how the concept of the [transactional outbox](https://en.wikipedia.org/w
```csharp
using (var session = store.OpenAsyncSession())
{
await session.StoreAsync(invoice);

await session.StoreAsync(invoiceCreatedMessage);

await session.SaveChangesAsync(); // single atomic commit
await session.StoreAsync(invoice);
await session.StoreAsync(invoiceCreatedMessage);

await session.SaveChangesAsync(); // single atomic commit
}

```
Expand Down