System.Data Namespace DataRelationCollection Class
Adds a DataRelation with the given arrays of parent and child columns to the collection.
[ VB ] Overridable Overloads Public Function Add ( _ ByVal parentColumns ( ) As DataColumn, _ ByVal childColumns ( ) As DataColumn _ ) As DataRelation [ C# ] public virtual DataRelation Add ( DataColumn [ ] parentColumns, DataColumn [ ] childColumns ); [ C++ ] public: virtual DataRelation* Add ( DataColumn* parentColumns [ ], DataColumn* childColumns [ ] ); [ JScript ] public function Add ( parentColumns : DataColumn [ ], childColumns : DataColumn [ ] ) : DataRelation;
The newly created DataRelation.
This version of the Add method creates a relation given the above parameters and adds it to the collection. The name is defaulted. The CollectionChanged event is fired if it succeeds.
DataRelationCollection Members DataRelationCollection.Add Overload List
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph