Skip to content

SiloBuilderAdoNetStreamExtensions Methods

Allows configuration of individual ADO.NET streams in a silo.

AddAdoNetStreams(ISiloBuilder, string, Action<AdoNetStreamOptions>)

staticextension
View source
public static ISiloBuilder AddAdoNetStreams(this ISiloBuilder builder, string name, Action<AdoNetStreamOptions> configureOptions)
Configures the silo to use an ADO.NET stream provider.

Parameters

builderISiloBuilder
The silo builder.
namestring
The stream provider name.
configureOptionsAction<AdoNetStreamOptions>
The delegate used to configure the provider.

Returns

The same builder instance.

AddAdoNetStreams(ISiloBuilder, string, Action<SiloAdoNetStreamConfigurator>)

staticextension
View source
public static ISiloBuilder AddAdoNetStreams(this ISiloBuilder builder, string name, Action<SiloAdoNetStreamConfigurator> configure)
Configures the silo to use an ADO.NET stream provider.

Parameters

builderISiloBuilder
The silo builder.
namestring
The stream provider name.
configureAction<SiloAdoNetStreamConfigurator>
The delegate used to configure the provider.

Returns

The same builder instance.