DataRelationCollection::Add Method
Adds a DataRelation to the DataRelationCollection.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | Add(DataColumn^, DataColumn^) | Creates a DataRelation with a specified parent and child column, and adds it to the collection. |
![]() | Add(array<DataColumn^>^, array<DataColumn^>^) | Creates a DataRelation with the specified parent and child columns, and adds it to the collection. |
![]() | Add(DataRelation^) | Adds a DataRelation to the DataRelationCollection. |
![]() | Add(String^, DataColumn^, DataColumn^) | Creates a DataRelation with the specified name, and parent and child columns, and adds it to the collection. |
![]() | Add(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. |
![]() | Add(String^, array<DataColumn^>^, array<DataColumn^>^) | Creates a DataRelation with the specified name and arrays of parent and child columns, and adds it to the collection. |
![]() | Add(String^, array<DataColumn^>^, array<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. |
