AtomsFramework Persistence Layer Reference Guide

AFAssociationAttribute Members

AFAssociationAttribute overview

Public Instance Constructors

AFAssociationAttribute Constructor Constructor for an association mapping between this class and another class.

Public Instance Properties

Cardinality ReadOnly. The cardinality of the association.
Delete Inidicates that any associated objects should be automatically deleted when an object of this class is deleted.
LazyLoad Indicates that proxy objects should be retrieved when an object's associated objects are retrieved.
Name The name of the association
Retrieve Indicates that any associated objects should be automatically retrieved when an object of this class is retrieved.
Save Indicates that any associated objects should be automatically saved when an object of this class is saved.
TargetClass ReadOnly. The class the association links to.
TargetProperty ReadOnly. The property in this class that stores the association.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

AFAssociationAttribute Class | AtomsFramework Namespace