Skip to content
ChartForgeX
Class

MermaidEntityAttribute

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes one ER entity attribute.

Inheritance

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public MermaidEntityAttribute(string type, string name, string? key, string? comment, MermaidSourceSpan span) #

Initializes an entity attribute.

Parameters

type string required
name string required
key string? required
comment string? required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Type { get; } #

Gets the attribute type.

public string Name { get; } #

Gets the attribute name.

public string? Key { get; } #

Gets optional key markers such as PK or FK.

public string? Comment { get; } #

Gets optional attribute comment text.