Table of Contents

Class EntityPropertyMetadata

Namespace
GroupeIsa.Neos.Domain.Entities
Assembly
GroupeIsa.Neos.Domain.Abstractions.dll

Represents metadata for an entity property.

public class EntityPropertyMetadata
Inheritance
EntityPropertyMetadata
Inherited Members

Constructors

EntityPropertyMetadata(Type, string?, LocalizableString?, bool, string?, string?, MaskingType)

Initializes a new instance of the EntityPropertyMetadata class.

public EntityPropertyMetadata(Type type, string? aiDescription = null, LocalizableString? caption = null, bool personalData = false, string? tableName = null, string? columnName = null, MaskingType maskingType = MaskingType.None)

Parameters

type Type

The type of the property.

aiDescription string

The AI description of the property.

caption LocalizableString

The caption of the property.

personalData bool

Indicates whether the property contains personal data.

tableName string

The name of the database table.

columnName string

The name of the database column.

maskingType MaskingType

The masking type of the property.

Properties

AIDescription

Gets or sets the AI description of the property.

public string? AIDescription { get; set; }

Property Value

string

Caption

Gets or sets the caption of the property.

public LocalizableString? Caption { get; set; }

Property Value

LocalizableString

ColumnName

Gets or sets the name of the database column.

public string? ColumnName { get; set; }

Property Value

string

MaskingType

Gets or sets the masking type of the property: a masked value is sensitive, and is only shown in clear to the users explicitly allowed to see it.

public MaskingType MaskingType { get; set; }

Property Value

MaskingType

PersonalData

Gets or sets a value indicating whether the property contains personal data.

public bool PersonalData { get; set; }

Property Value

bool

TableName

Gets or sets the name of the database table.

public string? TableName { get; set; }

Property Value

string

Type

Gets or sets the type of the property.

public Type Type { get; set; }

Property Value

Type