# ITransactionalResource.CommitReadOnly(Guid, AccessCounter, DateTime)

[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<TransactionalStatus> CommitReadOnly(Guid transactionId, AccessCounter accessCount, DateTime timeStamp)
```

Request sent by TA to all participants of a read-only transaction (one-phase commit). Participants respond after committing or aborting the read.

### 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
