Class RedbSchemeAttribute

Assembly: redb.Core.dll

Attribute for configuring the REDB schema for a properties class
The schema name is always equal to the class name

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class RedbSchemeAttribute : Attribute

Inheritance

ObjectAttributeRedbSchemeAttribute

Properties

Alias

Schema alias (human-readable name)

public string? Alias { get; set; }

Methods

GetSchemeName(Type)

Get the schema name for the type (full name with namespace).

public string GetSchemeName(Type type)

Constructors

RedbSchemeAttribute()

Parameterless constructor

RedbSchemeAttribute(string)

Constructor with alias