This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
RelationsCollection Methods
The methods of the RelationsCollection class are listed below. For a complete list of RelationsCollection class members, see the RelationsCollection Members topic.
Public:
Add |
Overloaded. Adds a relation to the collection. |
Clear |
Clears the collection of any relations. |
Contains |
Overloaded. [To be supplied.] |
CopyTo (inherited from BaseCollection) |
[To be supplied.] |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEnumerator (inherited from BaseCollection) |
[To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Remove |
Overloaded. [To be supplied.] |
ShouldPersistAll |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
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). |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
GetDataSet |
Gets the dataSet for this collection. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnCollectionChanged |
This method is called whenever the collection changes. Overriders of this method should call the base implementation of this method. |
RemoveCore |
Does verification on the relation. An ArgumentNullException is thrown if this relation is null. An ArgumentException is thrown if this relation doesn't belong to this collection. |
Event Hookup:
See Also
RelationsCollection Class | System.Data Namespace