# AdoNetGrainStorageOptions.DataSource

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.adonet/orleans.configuration.adonetgrainstorageoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.persistence.adonet/orleans.configuration.adonetgrainstorageoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AdoNet/Orleans.Persistence.AdoNet/Options/AdoNetGrainStorageOptions.cs)

```csharp
public DbDataSource? DataSource
```

Gets or sets the data source used to open database connections.
