Class RedbSchemeNameException

Assembly: redb.Core.dll

Thrown when a type declares an explicit scheme name ([RedbScheme(Name = "...")]) that
breaks the scheme naming rules. Raised before any SQL is issued, so the developer gets the
offending type and the broken rule instead of a raw constraint violation from the driver.

public class RedbSchemeNameException : Exception, ISerializable

Inheritance

Object→Exception→RedbSchemeNameException

Implements

Properties

DeclaringType

The class that declared the invalid name.

public Type DeclaringType { get; }

SchemeName

The rejected name, as written in the attribute.

public string? SchemeName { get; }

Constructors