NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RelationsCollection.AddCore

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
);

Parameters

relation
The relation to check.

See Also

RelationsCollection Class | RelationsCollection Members | System.Data Namespace