Table of Contents

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

string

DisplayName

Gets or sets the display name of the property.

public string DisplayName { get; set; }

Property Value

string

FullDisplayName

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

public string FullDisplayName { get; }

Property Value

string

Name

Gets or sets the unique name of the property.

public string Name { get; set; }

Property Value

string

Parent

Gets or sets the parent property in the hierarchy.

public EntityProperty Parent { get; set; }

Property Value

EntityProperty

ParentName

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

public string ParentName { get; }

Property Value

string

Properties

Gets or sets the collection of child properties.

public IEnumerable<EntityProperty> Properties { get; set; }

Property Value

IEnumerable<EntityProperty>

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.