Does verification on the table. An ArgumentNullException is thrown if this relation is null. An ArgumentException is thrown if this relation already belongs to this collection, belongs to another collection. A DuplicateNameException is thrown if this collection already has a relation with the same name (case insensitive).
[Visual Basic] Overridable Protected Sub AddCore( _ ByVal relation As DataRelation _ ) [C#] protected virtual void AddCore( DataRelation relation ); [C++] protected: virtual void AddCore( DataRelation* relation ); [JScript] protected function AddCore( relation : DataRelation );
RelationsCollection Class | RelationsCollection Members | System.Data Namespace