Class Entity<TProperty\>
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMObjBase.dll
This base class is to represent the entity.
public abstract class Entity<tproperty> : EntityBase, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup where TProperty : Property, new()
Type Parameters
TProperty
The type of the property.
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup
Inherited Members
EntityBase.Initialize(Unit.ConvertFactor),
EntityBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase),
EntityBase.PropertyRequestUpdate(object, LinkEventArgs),
EntityBase.OnDeserializationForAttribute(),
EntityBase.OnUpdatePropertyImpl(Property, LinkEventArgs),
EntityBase.LinkRequestDestroying(object, LinkEventArgs),
EntityBase.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
EntityBase.FixUp(ObjectBase),
EntityBase.FindLocal(string),
EntityBase.WriteTemplateImpl(XmlWriter),
EntityBase.ReadTemplateImpl(XmlReader),
EntityBase.LinkAddedToDocument(object, AddToDocEventArgs),
EntityBase.OnDeserialization(object),
EntityBase.Name,
EntityBase.FullName,
EntityBase.NonSymmetricName,
EntityBase.DisplayName,
EntityBase.IsEnabled,
EntityBase.Comment,
EntityBase.HasLayerExplicitly,
EntityBase.UntypedProperty,
EntityBase.IsFileProperty,
EntityBase.Layer,
EntityBase.IsVisible,
ContainerObject
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Entity()
Initializes a new instance of the
protected Entity()
Entity(string)
Initializes a new instance of the
protected Entity(string strName)
Parameters
strName string
Name of the entity.
Properties
Property
Gets or sets the property.
public TProperty Property { get; set; }
Property Value
TProperty
Methods
FindLocal(string)
Finds an object that matches a specified name in local.
public override IObjectBase FindLocal(string strName)
Parameters
strName string
Name to search for.
Returns
IObjectBase
An object that matches a specified name.
GetUnnamedObjectName(object)
Gets the name of the unnamed object.
public override string GetUnnamedObjectName(object obUnnamed)
Parameters
obUnnamed object
The ob unnamed.
Returns
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.