AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)
staticextension
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.