Skip to content

AdoNetGrainStorageServiceCollectionExtensions.AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)

AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)

staticextension
View source
public static IServiceCollection AddAdoNetGrainStorage(this IServiceCollection services, Action<AdoNetGrainStorageOptions> configureOptions)
Adds ADO.NET grain storage as the default grain storage provider.

Parameters

servicesIServiceCollection
The service collection.
configureOptionsAction<AdoNetGrainStorageOptions>
The delegate used to configure the storage provider.

Returns

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