# SiloBuilderAdoNetStreamExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.adonet/orleans.hosting.silobuilderadonetstreamextensions/)

## AddAdoNetStreams(ISiloBuilder, string, Action&lt;AdoNetStreamOptions&gt;) {#addadonetstreams-this-orleans-hosting-isilobuilder-string-system-action-orleans-7e09b6a9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.adonet/orleans.hosting.silobuilderadonetstreamextensions/methods/addadonetstreams-this-orleans-hosting-isilobuilder-string-system-action-orleans-7e09b6a9/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AdoNet/Orleans.Streaming.AdoNet/Hosting/SiloBuilderAdoNetStreamExtensions.cs#L13-L20)

```csharp
public static ISiloBuilder AddAdoNetStreams(this ISiloBuilder builder, string name, Action<AdoNetStreamOptions> configureOptions)
```

Configure silo to use ADO.NET persistent streams.

### Parameters

- `builder` (`ISiloBuilder`)
- `name` (`string`)
- `configureOptions` (`Action<AdoNetStreamOptions>`)

## AddAdoNetStreams(ISiloBuilder, string, Action&lt;SiloAdoNetStreamConfigurator&gt;) {#addadonetstreams-this-orleans-hosting-isilobuilder-string-system-action-orleans-4352d649}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.adonet/orleans.hosting.silobuilderadonetstreamextensions/methods/addadonetstreams-this-orleans-hosting-isilobuilder-string-system-action-orleans-4352d649/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AdoNet/Orleans.Streaming.AdoNet/Hosting/SiloBuilderAdoNetStreamExtensions.cs#L28-L36)

```csharp
public static ISiloBuilder AddAdoNetStreams(this ISiloBuilder builder, string name, Action<SiloAdoNetStreamConfigurator> configure)
```

Configure silo to use ADO.NET persistent streams.

### Parameters

- `builder` (`ISiloBuilder`)
- `name` (`string`)
- `configure` (`Action<SiloAdoNetStreamConfigurator>`)
