Skip to content

AdoNetGrainStorage Constructors

Stores grain state in a relational database using ADO.NET.

AdoNetGrainStorage(IActivatorProvider, ILogger<AdoNetGrainStorage>, IOptions<AdoNetGrainStorageOptions>, IOptions<ClusterOptions>, string)

View source
public AdoNetGrainStorage(IActivatorProvider activatorProvider, ILogger<AdoNetGrainStorage> logger, IOptions<AdoNetGrainStorageOptions> options, IOptions<ClusterOptions> clusterOptions, string name)
Initializes a new instance of the AdoNetGrainStorage class.

Parameters

activatorProviderIActivatorProvider
The activator used to create empty grain state values.
loggerILogger<AdoNetGrainStorage>
The provider logger.
optionsIOptions<AdoNetGrainStorageOptions>
The storage provider options.
clusterOptionsIOptions<ClusterOptions>
The cluster options used to scope stored grain state.
namestring
The storage provider name.