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 SourceDEFAULT_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 |
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 SourceConnectionString
Connection string for AdoNet storage.
Declaration
public string ConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IndentJson
Declaration
public bool IndentJson { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
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 |
Invariant
The invariant name for storage.
Declaration
public string Invariant { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TypeNameHandling
Declaration
public TypeNameHandling? TypeNameHandling { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<TypeNameHandling> |
UseFullAssemblyNames
Declaration
public bool UseFullAssemblyNames { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UseJsonFormat
Whether storage string payload should be formatted in JSON.
Declaration
public bool UseJsonFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UseXmlFormat
Whether storage string payload should be formatted in Xml.
Declaration
public bool UseXmlFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |