AdoNetGrainStorageOptions
class
Namespace: Orleans.Configuration
Options for ADO.NET grain storage.
public class AdoNetGrainStorageOptions : IStorageProviderSerializerOptionsConstructors
Properties
ConnectionStringConnection string for AdoNet storage.DeleteStateOnClearDelete record row from db when state is cleared.GrainStorageSerializerGets or sets the serializer to use for this storage provider.HashPickerGets or sets the hasher picker to use for this storage provider.InitStageStage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.InvariantThe invariant name for storage.
Methods
UseOrleans3CompatibleHasherSets legacy Orleans v3-compatible hash picker to use for this storage provider. Invoke this method if you need to run Orleans v7+ silo against existing Orleans v3-initialized database and keep existing grain state.
Fields
DEFAULT_ADONET_INVARIANTThe default ADO.NET invariant used for storage if none is given.DEFAULT_INIT_STAGEDefault init stage in silo lifecycle.
