Skip to content

AdoNetGrainStorage

class

Namespace: Orleans.Storage

A storage provider for writing grain state data to relational storage.
public class AdoNetGrainStorage : ILifecycleParticipant<ISiloLifecycle>, IGrainStorage

Remarks

Configuration is provided through AdoNetGrainStorageOptions.

Required configuration: ConnectionString - The database connection string.

Optional configuration: Invariant - The ADO.NET provider invariant name (defaults to Microsoft.Data.SqlClient).

Constructors

Properties

  • CurrentOperationalQueries The queries currently used. When this is updated, the new queries will take effect immediately.
  • HashPicker The hash generator used to hash natural keys, grain ID and grain type to a more narrow index.
  • Serializer

Methods

Fields