MindFusion.Wpf Pack Programmer's Guide
TableNode.AddRelation Method
See Also
 





Creates a relation with the specified table.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public DiagramLink AddRelation (
    int row,
    Relationship rel,
    TableNode tableNode,
    int relRow
)

Visual Basic  Copy Code

Public Function AddRelation( _
    row As Integer, _
    rel As Relationship, _
    tableNode As TableNode, _
    relRow As Integer _
) As DiagramLink

 Parameters

row

Zero-based index of a row in this table to be related.

rel

The type of the relation (and the direction of the link).

tableNode

The other table in the relation.

relRow

Zero-based index of the row in the other table.

 Return Value

A DiagramLink object representing the relation.

 Remarks

Call this method to link rows of two tables.

 See Also

TableNode Members
TableNode Class
MindFusion.Diagramming.Wpf Namespace
BreakRelation Method