Class RedbUnsupportedCollectionException

Assembly: redb.Core.dll

A property is declared with a collection type that redb does not store: HashSet<T>,
ISet<T>, ObservableCollection<T>, Queue<T>, Stack<T>,
IReadOnlyList<T>, SortedDictionary<K, V>, IReadOnlyDictionary<K, V> or any other
collection outside . Before, such a property was stored as one text value holding the name
of its type, and the object could not be loaded afterwards. The scheme sync refuses such a property before it writes
anything; a save that meets a collection in a single-value property (a scheme synced before the refusal existed)
refuses before any row is deleted or written. A class of the application that implements IEnumerable is a class and
is not refused.

public class RedbUnsupportedCollectionException : Exception, ISerializable

Inheritance

Object→Exception→RedbUnsupportedCollectionException

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 the type the save met in it, in C# notation.

public string PropertyTypeName { get; }

Constructors

RedbUnsupportedCollectionException(string, string, Type)

Refusal at a save: the single-value property holds a collection of foundType.

RedbUnsupportedCollectionException(Type, string, Type)

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