Class RedbDictionaryKeyTooLongException

Assembly: redb.Core.dll

A dictionary key is longer than the provider's _array_index column holds. SQL Server declares the column
NVARCHAR(430) (the index key width); PostgreSQL and SQLite have no bound and never raise this. The save
refuses before any row is written, so nothing stored changes.

public class RedbDictionaryKeyTooLongException : InvalidOperationException, ISerializable

Inheritance

Object→Exception→SystemException→InvalidOperationException→RedbDictionaryKeyTooLongException

Implements

Properties

Length

Length of the serialized key, in UTF-16 code units.

public int Length { get; }

Limit

The provider's bound, in UTF-16 code units.

public int Limit { get; }

ObjectId

Id of the object whose dictionary was rejected (0 or a temporary id for a new object).

public long ObjectId { get; }

Property

Name of the dictionary property.

public string Property { get; }

Constructors