Class RedbCollectionKindChangeException

Assembly: redb.Core.dll

A scheme sync refused because a property changed its collection kind (a single value, an array or a dictionary) while
the structure still holds values. The stored rows have the shape of the old kind and the new class would read them
wrong: a single value would come back as an empty array, an array as null, the positions of an array as dictionary
keys. The values would then be lost at the next save. Nothing is converted. The sync stops at this property; the
properties synced before it are complete, and the scheme keeps its stored version, so the next start tries again.

public class RedbCollectionKindChangeException : Exception, ISerializable

Inheritance

Object→Exception→RedbCollectionKindChangeException

Implements

Properties

DeclaredKind

The kind the class declares.

public string DeclaredKind { get; }

PropertyName

The property as its structure names it.

public string PropertyName { get; }

SchemeName

The scheme of the property.

public string SchemeName { get; }

StoredKind

The kind stored for the structure: "single value", "array" or "dictionary".

public string StoredKind { get; }

StructureId

The structure that holds the values.

public long StructureId { get; }

Constructors