Skip to content

AdoNetGrainStorageServiceCollectionExtensions.AddAdoNetGrainStorage(IServiceCollection, string, Action<AdoNetGrainStorageOptions>)

AddAdoNetGrainStorage(IServiceCollection, string, Action<AdoNetGrainStorageOptions>)

staticextension
View source
public static IServiceCollection AddAdoNetGrainStorage(this IServiceCollection services, string name, Action<AdoNetGrainStorageOptions> configureOptions)
Adds a named ADO.NET grain storage provider.

Parameters

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

Returns

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