Show / Hide Table of Contents

Class AdoNetGrainStorageOptions

Options for AdonetGrainStorage

Inheritance
System.Object
AdoNetGrainStorageOptions
Namespace: Orleans.Configuration
Assembly: Orleans.Persistence.AdoNet.dll
Syntax
public class AdoNetGrainStorageOptions : object

Fields

| Improve this Doc View Source

DEFAULT_ADONET_INVARIANT

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

Declaration
public const string DEFAULT_ADONET_INVARIANT = null
Field Value
Type Description
System.String
| Improve this Doc View Source

DEFAULT_INIT_STAGE

Default init stage in silo lifecycle.

Declaration
public const int DEFAULT_INIT_STAGE = null
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

ConnectionString

Connection string for AdoNet storage.

Declaration
public string ConnectionString { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IndentJson

Declaration
public bool IndentJson { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

InitStage

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

Declaration
public int InitStage { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Invariant

The invariant name for storage.

Declaration
public string Invariant { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TypeNameHandling

Declaration
public TypeNameHandling? TypeNameHandling { get; set; }
Property Value
Type Description
System.Nullable<TypeNameHandling>
| Improve this Doc View Source

UseFullAssemblyNames

Declaration
public bool UseFullAssemblyNames { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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.

Declaration
public bool UseJsonFormat { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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.

Declaration
public bool UseXmlFormat { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX