Class EntityPropertyMetadata
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
typeTypeThe type of the property.
aiDescriptionstringThe AI description of the property.
captionLocalizableStringThe caption of the property.
personalDataboolIndicates whether the property contains personal data.
tableNamestringThe name of the database table.
columnNamestringThe name of the database column.
maskingTypeMaskingTypeThe masking type of the property.
Properties
AIDescription
Gets or sets the AI description of the property.
public string? AIDescription { get; set; }
Property Value
Caption
Gets or sets the caption of the property.
public LocalizableString? Caption { get; set; }
Property Value
ColumnName
Gets or sets the name of the database column.
public string? ColumnName { get; set; }
Property Value
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
PersonalData
Gets or sets a value indicating whether the property contains personal data.
public bool PersonalData { get; set; }
Property Value
TableName
Gets or sets the name of the database table.
public string? TableName { get; set; }
Property Value
Type
Gets or sets the type of the property.
public Type Type { get; set; }