# TransactionAttribute Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactionattribute/)

## ReadOnly {#readonly-044ac48c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactionattribute/properties/readonly-044ac48c/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/TransactionAttribute.cs)

```csharp
[System.Obsolete(Use [ReadOnly] attribute instead.)]
public bool ReadOnly
```

## Requirement {#requirement-15876f0e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactionattribute/properties/requirement-15876f0e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/TransactionAttribute.cs#L36)

```csharp
public TransactionOption Requirement
```
