Bagikan melalui


DesignerDataRelationship Konstruktor

Definisi

Menginisialisasi instans DesignerDataRelationship baru kelas dengan nama, kolom induk, dan hubungan anak yang ditentukan.

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)

Parameter

name
String

Nama hubungan.

parentColumns
ICollection

Kolom dalam tabel induk yang menentukan hubungan.

childTable
DesignerDataTable

Tabel anak dalam hubungan.

childColumns
ICollection

Kolom dalam tabel anak yang menentukan hubungan.

Berlaku untuk