Class
TableRelation

This class represents a relation between two tables. It is similar to relations modeled with foreign keys in relational databases.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class TableRelation : RelationBase, IRelation

Inheritance: objectRelationBaseTableRelation

Implements: IRelation

Inherited Members RelationBase.NameRelationBase.IsSelfReference

Constructors

TableRelation()

Declaration

cs-api-definition
public TableRelation()

Properties

FieldNames

Gets the field names. This collection contains mappings of columns from the master table to columns in the child table.

Declaration

cs-api-definition
public FieldDescriptorNamePairCollection FieldNames { get; }

Property Value

FieldDescriptorNamePairCollection

The field names.

Methods

GetDataSource(object, DataItemCollection)

Gets the child data source.

Declaration

cs-api-definition
public override object GetDataSource(object context, DataItemCollection parentItems)

Parameters

context

object

The data context.

parentItems

DataItemCollection

The parent items collection.

Returns

object

Overrides RelationBase.GetDataSource(object, DataItemCollection)