Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AdoNetGrainStorageOptions Class

Definition

Namespace:
Orleans.Configuration
Assembly:
Orleans.Persistence.AdoNet.dll
Package:
Microsoft.Orleans.Persistence.AdoNet v10.0.0
Package:
Microsoft.Orleans.Persistence.AdoNet v2.4.5
Package:
Microsoft.Orleans.Persistence.AdoNet v3.6.5
Package:
Microsoft.Orleans.Persistence.AdoNet v7.2.5
Package:
Microsoft.Orleans.Persistence.AdoNet v8.0.0
Package:
Microsoft.Orleans.Persistence.AdoNet v8.1.0
Package:
Microsoft.Orleans.Persistence.AdoNet v8.2.0
Package:
Microsoft.Orleans.Persistence.AdoNet v9.0.0
Package:
Microsoft.Orleans.Persistence.AdoNet v9.1.2
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs
Source:
AdoNetGrainStorageOptions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Options for ADO.NET grain storage.

public class AdoNetGrainStorageOptions : Orleans.Storage.IStorageProviderSerializerOptions
public class AdoNetGrainStorageOptions
type AdoNetGrainStorageOptions = class
 interface IStorageProviderSerializerOptions
type AdoNetGrainStorageOptions = class
Public Class AdoNetGrainStorageOptions
Implements IStorageProviderSerializerOptions
Public Class AdoNetGrainStorageOptions
Inheritance
AdoNetGrainStorageOptions
Implements

Constructors

Name Description
AdoNetGrainStorageOptions()

Fields

Name Description
DEFAULT_ADONET_INVARIANT

The default ADO.NET invariant used for storage if none is given.

DEFAULT_INIT_STAGE

Default init stage in silo lifecycle.

Properties

Name Description
ConfigureJsonSerializerSettings
ConnectionString

Connection string for AdoNet storage.

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.

IndentJson
InitStage

Stage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.

Invariant

The invariant name for storage.

TypeNameHandling
UseFullAssemblyNames
UseJsonFormat

Whether storage string payload should be formatted in JSON. <remarks>If neither UseJsonFormat nor UseXmlFormat is set to true, then BinaryFormatSerializer will be configured to format storage string payload.</remarks>

UseXmlFormat

Whether storage string payload should be formatted in Xml. <remarks>If neither UseJsonFormat nor UseXmlFormat is set to true, then BinaryFormatSerializer will be configured to format storage string payload.</remarks>

Methods

Name Description
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.

Applies to