Persistate API documentation
AssociatorCount Method
NamespacesPersistatePersistentAssociatorCount()()()()

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

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

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: 0.6.1.20 (0.6.1.20)