Class RedbSchemaProblem

Namespace: redb.Core.Models
Assembly: redb.Core.dll

A problem of the database schema that does not stop the service but needs a person: it is logged as an error at
every start until it is resolved, and listed by for health checks.

public sealed class RedbSchemaProblem

Inheritance

Object→RedbSchemaProblem

Properties

Field

Name of the field concerned.

public string Field { get; }

Kind

What is wrong.

public RedbSchemaProblemKind Kind { get; }

Message

The text that is logged: what is wrong and where the fix is described.

public string Message { get; }

SchemeId

Id of the scheme in _schemes.

public long SchemeId { get; }

SchemeName

Name of the scheme.

public string SchemeName { get; }

StructureIds

Ids of the structures concerned, every copy of the field.

public IReadOnlyList<long> StructureIds { get; }

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Constructors