Class GridRelationDescriptor
Represents a RelationDescriptor defines constraints for a relation between two tables and schema information of child tables. RelationDescriptors are managed by the GridRelationDescriptorCollection which is returned by the Relations property of a GridTableDescriptor.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridRelationDescriptor : RelationDescriptor, ICustomTypeDescriptor, IDisposable, ICloneable, IStandardValuesProvider
Constructors
GridRelationDescriptor()
Initializes a new instance of the GridRelationDescriptor class.
Declaration
public GridRelationDescriptor()
GridRelationDescriptor(String)
Initializes a new instance of the GridRelationDescriptor class with a specified name.
Declaration
public GridRelationDescriptor(string relationName)
Parameters
Type | Name | Description |
---|---|---|
System.String | relationName | The relation name. |
Properties
ChildTableDescriptor
Gets or sets the TableDescriptor that describes child table.
Declaration
public GridTableDescriptor ChildTableDescriptor { get; set; }
Property Value
Type |
---|
GridTableDescriptor |
ParentTableDescriptor
Gets the parent TableDescriptor this descriptor belongs to if this object is the child table descriptor in a relation.
Declaration
public GridTableDescriptor ParentTableDescriptor { get; }
Property Value
Type |
---|
GridTableDescriptor |
Methods
Clone()
Overrides and creates an exact copy of this object.
Declaration
public override RelationDescriptor Clone()
Returns
Type | Description |
---|---|
RelationDescriptor | A duplicate of this object. |
Overrides
CreateChildTableDescriptor()
Overrides and creates a table descriptor for the child table.
Declaration
public override TableDescriptor CreateChildTableDescriptor()
Returns
Type | Description |
---|---|
TableDescriptor | Child table descriptor. |