EntityRef Class |
[This is preliminary documentation and is subject to change.]
Namespace: ZU.Semantic
public class EntityRef : IComparable
The EntityRef type exposes the following members.
Name | Description | |
---|---|---|
AgentIdChanger |
Specifies the user OR app (we can figure out user by using State - Extracted/Entered; thus UidChanger will either use App/Account as Id, or User's Id)
| |
Confidence |
Confidence
| |
Direction |
Direction: To or From
To means that relationship starts on this entity (THIS entity "is ..." for REFERENCED entity)
From means that relationship starts on referenced entity (REFERENCED entity "is ..." for THIS entity)
(e.g., "Referenced Entity" "Is Author Of" "another entity", or "another entity" "Is Sent By" "Referenced Entity")
| |
EntityId |
Entity's Id
| |
ModelId |
Entity's Model Id
| |
Relation |
Relation: e.g., "Is Author Of", or "Is Sent By", etc.
As we want the system to be extendable, we should not specify kinds of things using hard coding, but by using strings (via the Constants)
| |
RelationshipEntityId |
(Optional) Used to define a given Relationship
| |
RelationshipModelId |
(Optional) Used to define a given Relationship
| |
State |
This allows us to cheaply identify not only if this fragment was extracted automatically or created manually,
but also identify if it is deleted or not
| |
TLChange |
Name | Description | |
---|---|---|
CompareTo | ||
Equals(Object) | (Overrides ObjectEquals(Object).) | |
Equals(IEntity) | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsEmpty | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IdToShortGuid | (Defined by EntityRefExtensions.) | |
IdToShortString | (Defined by EntityRefExtensions.) | |
IsLive | (Defined by EntityRefExtensions.) |