AtomsFramework Persistence Layer Reference Guide

AssociationMap Class

[This is preliminary documentation and subject to change.]

Holds details of individual associations between classes.

For a list of all members of this type, see AssociationMap Members.

System.Object
   AtomsFramework.AssociationMap

[Visual Basic]
Public Class AssociationMap
[C#]
public class AssociationMap

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The Association Map class holds the details of the various associations in the O/R mapping. Each AssociationMap object contains information on a single association.

Associations can only be one-to-one or one-to-many. Many-to-many associations must be represented by two one-to-many associations (one for each direction). The thinking is that each association represents a path for navigation between objects and that since you always begin the navigation from a single object the many-to-many association is not really required. It also ensures that the code is somewhat simpler to implement.

Requirements

Namespace: AtomsFramework

Assembly: AtomsFramework (in AtomsFramework.dll)

See Also

AssociationMap Members | AtomsFramework Namespace