From 103cbe657eb221cb932fb48a35919c1f5fc156c4 Mon Sep 17 00:00:00 2001 From: Bartosz Klonowski Date: Thu, 7 Aug 2025 22:40:17 +0200 Subject: [PATCH] Correct the syntax of accessing the UseOrleans call --- docs/orleans/grains/transactions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/orleans/grains/transactions.md b/docs/orleans/grains/transactions.md index c37236993e58b..16692735105db 100644 --- a/docs/orleans/grains/transactions.md +++ b/docs/orleans/grains/transactions.md @@ -20,7 +20,7 @@ Orleans transactions are opt-in. Both the silo and the client must be configured ```csharp var builder = Host.CreateDefaultBuilder(args) - UseOrleans((context, siloBuilder) => + .UseOrleans((context, siloBuilder) => { siloBuilder.UseTransactions(); }); @@ -30,7 +30,7 @@ Likewise, to enable transactions on the client, call + .UseOrleansClient((context, clientBuilder) => { clientBuilder.UseTransactions(); });