Skip to content

AdoNetGrainStorageOptions

class

Namespace: Orleans.Configuration

Options for ADO.NET grain storage.
public class AdoNetGrainStorageOptions : IStorageProviderSerializerOptions

Constructors

Properties

  • ConnectionString Connection string for AdoNet storage.
  • DeleteStateOnClear Delete record row from db when state is cleared.
  • GrainStorageSerializer Gets or sets the serializer to use for this storage provider.
  • HashPicker Gets or sets the hasher picker to use for this storage provider.
  • InitStage Stage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.
  • Invariant The invariant name for storage.

Methods

  • UseOrleans3CompatibleHasher Sets 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