ClassTableRelation
Class
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:
Inherited Members
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
The data context.
parentItems
The parent items collection.
Returns
Overrides