# ITransactionalResource.Prepare(Guid, AccessCounter, DateTime, ParticipantId)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.itransactionalresource/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.itransactionalresource/methods/)

```csharp
public abstract Task Prepare(Guid transactionId, AccessCounter accessCount, DateTime timeStamp, ParticipantId transactionManager)
```

One-way message sent by TA to all participants except TM.

### Parameters

- `transactionId` (`Guid`): the id of the transaction to prepare
- `accessCount` (`AccessCounter`): number of reads/writes performed on this participant by this transaction
- `timeStamp` (`DateTime`): the commit timestamp for this transaction
- `transactionManager` (`ParticipantId`): the transaction manager for this transaction
