Class RedbNestedCollectionException

Assembly: redb.Core.dll

A property holds a collection directly inside a collection (List<List<T>>, T[][],
List<T[]>, List<Dictionary<K, V>>, Dictionary<K, List<V>>,
Dictionary<K, Dictionary<K2, V>>, Dictionary<K, V>[]) or is a multi-dimensional array
(T[,]). redb stores neither: before, each inner collection was written as the name of its type, a
multi-dimensional array as a flat one, and the object could not be loaded afterwards. The scheme sync refuses such a
property before it writes anything; a save that meets one (a scheme synced before the refusal existed) refuses
before any row is deleted or written. A byte[] element or value is a single value and is not refused.
Wrap the inner collection in a class: List<Group> with class Group { List<T> Items }.

public class RedbNestedCollectionException : Exception, ISerializable

Inheritance

Object→Exception→RedbNestedCollectionException

Implements

Properties

OwnerName

The class (or scheme) that declares the property.

public string OwnerName { get; }

PropertyName

The property.

public string PropertyName { get; }

PropertyTypeName

The declared type of the property, or what the save met in it, in C# notation.

public string PropertyTypeName { get; }

Methods

Display(Type)

A type in C# notation: List<List<int>>, int[,].

public static string Display(Type type)

Constructors

RedbNestedCollectionException(string, string, string)

Refusal at a save: found says what the save met in the property.

RedbNestedCollectionException(Type, string, Type)

Refusal of a declared property type, at the scheme sync.