# ITransactionTestGrain

Package: [Microsoft.Orleans.Transactions.TestKit.Base](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions.TestKit.Base)

```csharp
public interface ITransactionTestGrain : IGrain, IGrainWithGuidKey, IAddressable
```

## Methods

- [Add(int)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.itransactiontestgrain/methods/add-int-1ff7927a/)
- [AddAndThrow(int)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.itransactiontestgrain/methods/addandthrow-int-6ce667e6/)
- [Deactivate](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.itransactiontestgrain/methods/deactivate-59a1c2ea/)
- [Get](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.itransactiontestgrain/methods/get-eb94f489/)
- [Set(int)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.itransactiontestgrain/methods/set-int-415deab2/)
- [SetAndThrow(int)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.itransactiontestgrain/methods/setandthrow-int-6f7a15de/)
