This class describes a relation between two DataTables.
The relations are contained in a DataRelationCollection, use
the Add(DataTable, DataTable, String) method to add new relations.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.DataDataRelation
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 69.0.21424.2902 (69.0.21424.2902)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(12, 0)] public sealed class DataRelation : DocumentNode
The DataRelation type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Expression | Gets or sets the expression used to define the relation.
| |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| IsValid |
Gets a value indicating whether the relation is valid, false otherwise..
| |
| LeftTable | Gets the left data table.
| |
| RightTable | Gets the right data table.
| |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
| Name | Description | |
|---|---|---|
| ConnectsTable | Check if the relation connects the data table.
| |
| ForEachNodeInSubTreeTNode |
Applies the specified action to all nodes of the specified type in the subtree spanned
from this node, including this node.
(Inherited from DocumentNode.) | |
| GetRelatedTable | Get the data table that the given data table relates to
in the relation.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Version Information
Supported in: 14.7, 14.6, 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also