Edit

Share via


DesignerDataRelationship Constructor

Definition

Initializes a new instance of the DesignerDataRelationship class with the specified name, parent column, and child relationship.

public:
 DesignerDataRelationship(System::String ^ name, System::Collections::ICollection ^ parentColumns, System::ComponentModel::Design::Data::DesignerDataTable ^ childTable, System::Collections::ICollection ^ childColumns);
public DesignerDataRelationship (string name, System.Collections.ICollection parentColumns, System.ComponentModel.Design.Data.DesignerDataTable childTable, System.Collections.ICollection childColumns);
new System.ComponentModel.Design.Data.DesignerDataRelationship : string * System.Collections.ICollection * System.ComponentModel.Design.Data.DesignerDataTable * System.Collections.ICollection -> System.ComponentModel.Design.Data.DesignerDataRelationship
Public Sub New (name As String, parentColumns As ICollection, childTable As DesignerDataTable, childColumns As ICollection)

Parameters

name
String

The name of the relationship.

parentColumns
ICollection

The columns in the parent table that define the relationship.

childTable
DesignerDataTable

The child table in the relationship.

childColumns
ICollection

The columns in the child table that define the relationship.

Applies to