# SiloBuilderReminderExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.reminders.adonet/orleans.hosting.silobuilderreminderextensions/)

## UseAdoNetReminderService(IServiceCollection, Action&lt;OptionsBuilder&lt;AdoNetReminderTableOptions&gt;&gt;) {#useadonetreminderservice-this-microsoft-extensions-dependencyinjection-iservicec-7cca7870}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.adonet/orleans.hosting.silobuilderreminderextensions/methods/useadonetreminderservice-this-microsoft-extensions-dependencyinjection-iservicec-7cca7870/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AdoNet/Orleans.Reminders.AdoNet/SiloBuilderReminderExtensions.cs#L53-L58)

```csharp
public static IServiceCollection UseAdoNetReminderService(this IServiceCollection services, Action<OptionsBuilder<AdoNetReminderTableOptions>> configureOptions)
```

Adds reminder storage using ADO.NET. Instructions on configuring your database are available at [http://aka.ms/orleans-sql-scripts](http://aka.ms/orleans-sql-scripts).

### Parameters

- `services` (`IServiceCollection`): The service collection.
- `configureOptions` (`Action<OptionsBuilder<AdoNetReminderTableOptions>>`): Configuration delegate.

### Returns

The provided `Microsoft.Extensions.DependencyInjection.IServiceCollection`, for chaining.

## UseAdoNetReminderService(ISiloBuilder, Action&lt;AdoNetReminderTableOptions&gt;) {#useadonetreminderservice-this-orleans-hosting-isilobuilder-system-action-orleans-c7863368}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.adonet/orleans.hosting.silobuilderreminderextensions/methods/useadonetreminderservice-this-orleans-hosting-isilobuilder-system-action-orleans-c7863368/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AdoNet/Orleans.Reminders.AdoNet/SiloBuilderReminderExtensions.cs)

```csharp
public static ISiloBuilder UseAdoNetReminderService(this ISiloBuilder builder, Action<AdoNetReminderTableOptions> configureOptions)
```

Adds reminder storage using ADO.NET. Instructions on configuring your database are available at [http://aka.ms/orleans-sql-scripts](http://aka.ms/orleans-sql-scripts).

### Parameters

- `builder` (`ISiloBuilder`): The builder.
- `configureOptions` (`Action<AdoNetReminderTableOptions>`): Configuration delegate.

### Returns

The provided [ISiloBuilder](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.isilobuilder/), for chaining.

## UseAdoNetReminderService(ISiloBuilder, Action&lt;OptionsBuilder&lt;AdoNetReminderTableOptions&gt;&gt;) {#useadonetreminderservice-this-orleans-hosting-isilobuilder-system-action-microso-7f81d99f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.adonet/orleans.hosting.silobuilderreminderextensions/methods/useadonetreminderservice-this-orleans-hosting-isilobuilder-system-action-microso-7f81d99f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AdoNet/Orleans.Reminders.AdoNet/SiloBuilderReminderExtensions.cs)

```csharp
public static ISiloBuilder UseAdoNetReminderService(this ISiloBuilder builder, Action<OptionsBuilder<AdoNetReminderTableOptions>> configureOptions)
```

Adds reminder storage using ADO.NET. Instructions on configuring your database are available at [http://aka.ms/orleans-sql-scripts](http://aka.ms/orleans-sql-scripts).

### Parameters

- `builder` (`ISiloBuilder`): The builder.
- `configureOptions` (`Action<OptionsBuilder<AdoNetReminderTableOptions>>`): Configuration delegate.

### Returns

The provided [ISiloBuilder](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.isilobuilder/), for chaining.
