Redigera

Dela via


AdoNetGrainStorageOptions Class

Definition

Options for ADO.NET grain storage.

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

Constructors

AdoNetGrainStorageOptions()

Fields

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

ConfigureJsonSerializerSettings
ConnectionString

Connection string for AdoNet storage.

GrainStorageSerializer

Gets or sets the serializer 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. If neither UseJsonFormat nor UseXmlFormat is set to true, then BinaryFormatSerializer will be configured to format storage string payload.

UseXmlFormat

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

Applies to