Add Method

DataRelationCollection.Add Method

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

NameDescription
System_CAPS_pubmethodAdd(DataColumn, DataColumn)

Creates a DataRelation with a specified parent and child column, and adds it to the collection.

System_CAPS_pubmethodAdd(DataColumn[], DataColumn[])

Creates a DataRelation with the specified parent and child columns, and adds it to the collection.

System_CAPS_pubmethodAdd(DataRelation)
System_CAPS_pubmethodAdd(String, DataColumn, DataColumn)

Creates a DataRelation with the specified name, and parent and child columns, and adds it to the collection.

System_CAPS_pubmethodAdd(String, DataColumn, DataColumn, Boolean)

Creates a DataRelation with the specified name, parent and child columns, with optional constraints according to the value of the createConstraints parameter, and adds it to the collection.

System_CAPS_pubmethodAdd(String, DataColumn[], DataColumn[])

Creates a DataRelation with the specified name and arrays of parent and child columns, and adds it to the collection.

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

Creates a DataRelation with the specified name, arrays of parent and child columns, and value specifying whether to create a constraint, and adds it to the collection.

Return to top
Show:
© 2016 Microsoft