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