Click or drag to resize

DBRelationshipEdge Class

Base class for the relationship classes for db drivers. It represents a non-directed edge between two DBTable instances . The RelationshipType defines how the startVertex is related to the endVertex. It also implies how the endVertex is related to the startVertex, as the relationship has no direction: it's a relationship between the startVertex and the endVertex. StartVertex is the FK side, EndVertex is the PK side. In m:n relations, it doesn't matter, both vertices are the vertices which are related to each other over an m:n relationship. RelationshipType is about startVertex relationshipType endVertex, hence no 1:n type, as the startvertex is either always the FK side or one side of an m:n relationship.
Inheritance Hierarchy
SystemObject
  SD.Tools.Algorithmia.GraphsEdgeDBTable
    SD.Tools.Algorithmia.GraphsNonDirectedEdgeDBTable
      SD.LLBLGen.Pro.DBDriverCoreDBRelationshipEdge
        SD.LLBLGen.Pro.DBDriverCoreIndirectDBRelationshipEdge
        SD.LLBLGen.Pro.DBDriverCoreNormalDBRelationshipEdge

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public class DBRelationshipEdge : NonDirectedEdge<DBTable>, 
	ISerializableToXml

The DBRelationshipEdge type exposes the following members.

Constructors
  NameDescription
Public methodDBRelationshipEdge
CTor
Top
Properties
  NameDescription
Public propertyEndVertex
Gets the end vertex of the edge.
(Inherited from EdgeTVertex.)
Public propertyIsDirected
Gets a value indicating whether this edge is directed. If true, the edge is directed from startVertex to endVertex and is seen as an edge only between startVertex and endVertex, not between endVertex and startVertex. If false, this edge isn't considered a directed edge and is seen as an edge between startVertex and endVertex and also between endVertex and startVertex.
(Inherited from EdgeTVertex.)
Public propertyRelationshipType
Gets or sets the type of the relationship.
Public propertyStartVertex
Gets the start vertex of the edge.
(Inherited from EdgeTVertex.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also