ClassRelationBase
Class
The abstract base class for all relations.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
cs-api-definition
public abstract class RelationBase : IRelation
Inheritance: objectRelationBase
Derived Classes:
Implements:
Constructors
RelationBase()
Declaration
cs-api-definition
protected RelationBase()
Properties
IsSelfReference
Gets or sets a value indicating whether this instance is self-reference. Self-reference relations are used when the child data contains the same objects as the master.
Declaration
cs-api-definition
public bool IsSelfReference { get; set; }
Property Value
True if this relation is a self-reference one; otherwise, false.
Implements
Methods
GetDataSource(object, DataItemCollection)
Gets the child data source.
Declaration
cs-api-definition
public abstract object GetDataSource(object context, DataItemCollection parentItems)
Parameters
context
The data context.
parentItems
The parent items collection.
Returns