DataRelation Constructor

DataRelation Constructor

 

Initializes a new instance of the DataRelation class.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodDataRelation(String, DataColumn, DataColumn)

Initializes a new instance of the DataRelation class using the specified DataRelation name, and parent and child DataColumn objects.

System_CAPS_pubmethodDataRelation(String, DataColumn, DataColumn, Boolean)

Initializes a new instance of the DataRelation class using the specified name, parent and child DataColumn objects, and a value that indicates whether to create constraints.

System_CAPS_pubmethodDataRelation(String, DataColumn[], DataColumn[])

Initializes a new instance of the DataRelation class using the specified DataRelation name and matched arrays of parent and child DataColumn objects.

System_CAPS_pubmethodDataRelation(String, DataColumn[], DataColumn[], Boolean)

Initializes a new instance of the DataRelation class using the specified name, matched arrays of parent and child DataColumn objects, and value that indicates whether to create constraints.

System_CAPS_pubmethodDataRelation(String, String, String, String, String, String[], String[], Boolean)

This constructor is provided for design time support in the Visual Studio environment.

System_CAPS_pubmethodDataRelation(String, String, String, String[], String[], Boolean)

This constructor is provided for design time support in the Visual Studio environment.

Return to top
Show:
© 2016 Microsoft