Click or drag to resize

RelationTableA, B Methods

The RelationTableA, B generic type exposes the following members.

Methods
  NameDescription
Public methodadd
Add a relation to the table, two object that relateB to each other
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisARelated
Looks in the table for object a, and returns true if it relates
Public methodisBRelated
Looks in the table for object b, and returns true if it relates
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodrelateA(A)
Looks in the table for object a, and finds the object b that is related. Returns the found object, or throws an exception if not found
Public methodrelateA(A, B)
Looks in the table for object a, and finds the object b that is related. Returns true if found, false if not found.
Public methodrelateB(B)
Looks in the table for object b, and finds the object a that is related. Returns the found object, or throws an exception if not found
Public methodrelateB(B, A)
Looks in the table for object b, and finds the object a that is related. Returns true if found, false if not found. Remark: Named relateB, since, if A and B is same type then relateA and relateB can not be distinguished without the A/B in the end
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also