AtomsFramework Persistence Layer Reference Guide

AssociationMap Members

AssociationMap overview

Public Instance Constructors

AssociationMap Constructor Creates a new instance of a AssociationMap.

Public Instance Properties

AssociationTable An AssociationTable used for managing a Many-To-Many association.
CardinalityType The cardinality of the association
DeleteAutomatic The association will cause the target object(s) to be deleted when the source object is deleted.
Entries A collection of AssociationMapEntry objects that anchor the association.
FromClass The class at the originating end of the association.
FromClassTarget The attribute in the source class where the associated object(s) are stored.
LazyLoad The association will retrieve proxy versions of the target object(s) when the source object is retrieved.
Name The name of the association.
RetrieveAutomatic The association will cause the target object(s) to be retrieved when the source object is retrieved.
SaveAutomatic The association will cause the target object(s) to be saved when the source object is saved.
ToClass The target class for the association (the "to" class)
ToClassTarget For many-to-many associations only. The attribute in the "to" class where the associated object(s) are stored.

Public Instance Methods

AddEntry Adds a AssociationMapEntry object to the AssociationMap
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEntry Retrieves a AssociationMapEntry at the given index position
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.
GetSize Gets the number of AssociationMapEntry objects in the Entries collection.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

AssociationMap Class | AtomsFramework Namespace