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)
Configure silo to use AdoNet grain storage as the default grain storage. Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.

Parameters

servicesIServiceCollection
configureOptionsAction<AdoNetGrainStorageOptions>