Persistate API documentation
AssociatorCount Method

[This is preliminary documentation and is subject to change.]

Gets the number of associations made to this object.
Declaration Syntax
public int AssociatorCount()
Return Value
The number of associations.

In order for this to work, the ObjectClass of this object must be in a ClassCategory which has the Log Associations function set. If this is not the case, null is returned and no exception is thrown.

The returned count will include all objects which have set this object into either an associated single member, or an associated collection member. It will NOT include the parent object of this object. Note that this method involves only indexed lookups in persistent storage, as Persistate keeps track of all associations made.

Assembly: Persistate (Module: Persistate) Version: (