Export (0) Print
Expand All

DataRelationCollection.Add Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Add(DataRelation) Adds a DataRelation to the DataRelationCollection.
Public method Add(DataColumn, DataColumn) Creates a DataRelation with a specified parent and child column, and adds it to the collection.
Public method Add(DataColumn[], DataColumn[]) Creates a DataRelation with the specified parent and child columns, and adds it to the collection.
Public method Add(String, DataColumn, DataColumn) Creates a DataRelation with the specified name, and parent and child columns, and adds it to the collection.
Public method Add(String, DataColumn[], DataColumn[]) Creates a DataRelation with the specified name and arrays of parent and child columns, and adds it to the collection.
Public method 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.
Public method Add(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.
Top
Show:
© 2014 Microsoft