# RelationalStorageProviderQueries Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.adonet/orleans.storage.relationalstorageproviderqueries/)

## RelationalStorageProviderQueries(string, string, string, string) {#constructor-string-string-string-string-27ab5293}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.adonet/orleans.storage.relationalstorageproviderqueries/constructors/constructor-string-string-string-string-27ab5293/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/RelationalStorageProviderQueries.cs#L36-L48)

```csharp
public RelationalStorageProviderQueries(string writeToStorage, string readFromStorage, string clearState, string deleteState)
```

Constructor.

### Parameters

- `writeToStorage` (`string`): The clause to write to a storage.
- `readFromStorage` (`string`): The clause to read from a storage.
- `clearState` (`string`): The clause to clear the storage.
- `deleteState` (`string`): The clause to delete the row from storage. May be `null` for backward compatibility.
