EntityProperty
Ecng.ComponentModel
Represents an entity property with hierarchical structure.
Construtores
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
Propriedades
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.
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.
Métodos
ToString
public override string ToString()
result = entityProperty.ToString()
Returns a string representation of the tuple, with values separated by commas.
Retorna: A string representing the tuple's values.