# GoldenPathTransactionTestRunner.MultiGrainWriteTransaction(string, int)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.goldenpathtransactiontestrunner/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.goldenpathtransactiontestrunner/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs#L42-L59)

```csharp
public virtual Task MultiGrainWriteTransaction(string grainStates, int grainCount)
```

### Parameters

- `grainStates` (`string`)
- `grainCount` (`int`)
