Class TableRelation
This class represents a relation between two tables. It is similar to relations modeled with foreign keys in relational databases.
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class TableRelation : RelationBase, IRelation
Constructors
TableRelation()
Declaration
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
public FieldDescriptorNamePairCollection FieldNames { get; }
Property Value
FieldDescriptorNamePairCollection
The field names. |
Methods
GetDataSource(Object, DataItemCollection)
Gets the child data source.
Declaration
public override object GetDataSource(object context, DataItemCollection parentItems)
Parameters
System.Object
context
The data context. |
DataItemCollection
parentItems
The parent items collection. |
Returns
System.Object
|