AdoNetGrainStorageKeyFormat
enum
Namespace: Orleans.Configuration
Specifies how ADO.NET grain storage maps a grain state to the key columns of the
OrleansStorage table. public enum AdoNetGrainStorageKeyFormatRemarks
The key format determines where state is stored. Changing the format of an existing database makes state written with the previous format unreachable; no automatic migration is performed.
Fields
| Name | Value | Description |
|---|---|---|
Legacy | 0 | Stores the state name in GrainTypeString and keys rows by the grain key only. Integer and GUID keys are recognized by parsing the grain key. |
GrainTypeQualified | 1 | Stores the grain type, state name, and grain key as hexadecimal text of their exact bytes, so that each combination of grain type, state name, and grain key has its own row under any database collation and hasher. |
