Class EntityProperty
- Namespace
- Ecng.ComponentModel
- Assembly
- Ecng.ComponentModel.dll
Represents an entity property with hierarchical structure.
public class EntityProperty
- Inheritance
-
EntityProperty
- Inherited Members
- Extension Methods
Constructors
EntityProperty()
public EntityProperty()
Properties
Description
Gets or sets the description of the property.
public string Description { get; set; }
Property Value
DisplayName
Gets or sets the display name of the property.
public string DisplayName { get; set; }
Property Value
FullDisplayName
Gets the full display name, which includes the names of the parent properties.
public string FullDisplayName { get; }
Property Value
Name
Gets or sets the unique name of the property.
public string Name { get; set; }
Property Value
Parent
Gets or sets the parent property in the hierarchy.
public EntityProperty Parent { get; set; }
Property Value
ParentName
Gets the name of the parent property. Returns an empty string if there is no parent.
public string ParentName { get; }
Property Value
Properties
Gets or sets the collection of child properties.
public IEnumerable<EntityProperty> Properties { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current entity property.
public override string ToString()
Returns
- string
A string representation of the entity property including its name and full display name.