Show / Hide Table of Contents

Class Relation

Defines the relationship between the entity (a) and another entity (b).

Inheritance
object
Relation
Implements
IMessage<Relation>
IEquatable<Relation>
IDeepCloneable<Relation>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Relation : IMessage<Relation>, IEquatable<Relation>, IDeepCloneable<Relation>, IBufferMessage, IMessage

Constructors

Relation()

Declaration
public Relation()

Relation(Relation)

Declaration
public Relation(Relation other)
Parameters
Type Name Description
Relation other

Properties

Direction

Directionality of relationship between primary entity (a) and the related entity (b).

Declaration
public Relation.Types.Directionality Direction { get; set; }
Property Value
Type Description
Relation.Types.Directionality

Entity

Entity (b) that the primary entity (a) is related to.

Declaration
public Noun Entity { get; set; }
Property Value
Type Description
Noun

EntityLabel

Label to identify the Noun of the relation.

Declaration
public Relation.Types.EntityLabel EntityLabel { get; set; }
Property Value
Type Description
Relation.Types.EntityLabel

EntityType

Type of the related entity (b) in this relationship.

Declaration
public EntityMetadata.Types.EntityType EntityType { get; set; }
Property Value
Type Description
EntityMetadata.Types.EntityType

Relationship

Type of relationship.

Declaration
public Relation.Types.Relationship Relationship { get; set; }
Property Value
Type Description
Relation.Types.Relationship

Uid

UID of the relationship.

Declaration
public ByteString Uid { get; set; }
Property Value
Type Description
ByteString
In this article
Back to top Generated by DocFX