Class RelationBase
The abstract base class for all relations.
Inheritance
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public abstract class RelationBase : Object, IRelation
Constructors
RelationBase()
Declaration
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
public bool IsSelfReference { get; set; }
Property Value
System.Boolean
|
Implements
Name
Gets or sets the name of the relation.
Declaration
public string Name { get; set; }
Property Value
System.String
The name. |
Implements
Methods
GetDataSource(Object, DataItemCollection)
Gets the child data source.
Declaration
public abstract object GetDataSource(object context, DataItemCollection parentItems)
Parameters
System.Object
context
The data context. |
DataItemCollection
parentItems
The parent items collection. |
Returns
System.Object
|