EntityProperty

Ecng.ComponentModel

Represents an entity property with hierarchical structure.

コンストラクター

EntityProperty
public EntityProperty(string name, string displayName, string description, Type type, EntityProperty parent)
entityProperty = EntityProperty(name, displayName, description, type, parent)

Represents an entity property with hierarchical structure.

name
Name
displayName
DisplayName
description
Description
type
Type
parent
Parent

プロパティ

Description
public string Description { get; }
value = entityProperty.Description

Gets the description of the property.

DisplayName
public string DisplayName { get; }
value = entityProperty.DisplayName

Gets the display name of the property.

FullDisplayName
public string FullDisplayName { get; }
value = entityProperty.FullDisplayName

Gets the full display name, which includes the names of the parent properties.

Name
public string Name { get; }
value = entityProperty.Name

Gets the unique name of the property.

Parent
public EntityProperty Parent { get; }
value = entityProperty.Parent

Gets the parent property in the hierarchy.

ParentName
public string ParentName { get; }
value = entityProperty.ParentName

Gets the name of the parent property. Returns an empty string if there is no parent.

Properties
public IEnumerable<EntityProperty> Properties { get; set; }
value = entityProperty.Properties
entityProperty.Properties = value

Gets the collection of child properties.

Type
public Type Type { get; }
value = entityProperty.Type

Gets the type of the property.

メソッド

ToString
public override string ToString()
result = entityProperty.ToString()

Returns a string representation of the tuple, with values separated by commas.

戻り値: A string representing the tuple's values.