AtomsFramework Persistence Layer Reference Guide

ClassMap Members

ClassMap overview

Public Static (Shared) Methods

ParticipateInOneToMany Checks if two class maps participate in a OneToMany association

Public Instance Constructors

ClassMap Constructor Initializes a new instance the of ClassMap class.

Public Instance Properties

AssemblyPath The full location path of the assembly.
AssociationMapCount The number of associations originating with this class
AssociationMaps A collection of association mappings
AttributeMaps A collection of all mapped attributes in the business class.
ChildrenMaps A Collection of all children classes.
ClassNamespace The Class's name space.
DeleteStatement An SQL statement for deleting data
FindAttributeMaps A collection of attributes used in Find operations.
HashedAttributeMaps A collection of hashed attributes
IClassFactoryName The name of a class that implements the IClassFactory interface.
IdentityAttributeMaps A collection of attributes that map to identity columns.
InsertStatement An SQL statement for inserting data
IsModifyOnly Indicates whether the class is marked as a Modify Only class.
IsReadOnly Indicates whether the class is marked as a Read Only class.
Joins A reference to the first Join object in a Join Set.
KeyAttributeMaps Contains the mappings for the classes key attributes
Name The name of the class being mapped
ReferenceAttributeMaps A collection of attributes that reference attributes in other classes.
RelationalDatabase Gets the relational database that the class is mapped to.
SelectStatement An SQL statement for selecting data
SharedTableColumnMap A column map for the shared table field specified in the ClassMap
SharedTableField The field that is used to differentiate between parent classes and sub classes
SharedTableValue The value of the SharedTableField that indicates a record belongs to this class
StraightAssociationMaps A collection of standard association maps.
SuperClass Ths parent class (superclass) of the currently mapped business class.
SuperClassNamespace The Super Class's name space.
Tables A collection of mapped database tables

Public Instance Methods

AddAssociationMap Adds an association map to the class map
AddAttributeMap Adds an attribute map to the class map
AddChildrenMap Adds an children map to the class map
CreateObjectInstanceOverloaded. Creates an instance of the class mapped by the ClassMap object.
CreateObjectInstanceViaFactory Creates an object that implements the interface mapped by this ClassMap object/
Dispose Disposes the Class Map object
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetAssociationMapByName Retrieves an association map based on it's name.
GetAttributeMap Gets an attribute map based on an index value.
GetAttributeMapByString Gets an attribute map based on the attributes name.
GetDeleteSqlFor Gets the sql statement required to delete an object of this class.
GetFindAttributeMap Gets a specific Find Attribute from the class map.
GetFindSize Gets the number of attributes in the find attribute collection
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.
GetIdentityAttributeMap Gets a specific Identity Attribute from the class map.
GetIdentitySize Gets the number of attributes in the Identity Attribute collection.
GetInheritedAssociations Gets SQL text for processing inheritance associations.
GetInsertSqlFor Gets the SQL statement for inserting a new object into the database.
GetKeyAttributeMap Get a specific Key Attribute from the class map
GetKeySize Gets the number of attributes in the key attribute collection
GetReferenceAttributeMap Gets a specific Reference Attribute from the class map.
GetReferenceSize Gets the number of attributes in the Reference Attribute collection.
GetSelectSqlOverloaded. Gets the sql statement required to retrieve a complete object from the database.
GetSelectSqlForOverloaded. Gets the SQL statement required to select an object from the database
GetSize Gets the number of attribute maps in the class map
GetSqlFind Creates an SQL statement to find an object.
GetSqlRetrieve Creates an SQL statement to retrieve an object.
GetStraightAssociationMap Gets a specific association map from the class map
GetStraightAssociationMapSize Gets the number of associations for the class maop
GetType (inherited from Object) Gets the Type of the current instance.
GetUpdateSqlFor Gets the SQL statement for updating an object in the database.
GetValueForRelationalDatabase Gets the value of an object in a format suitable for SQL usage.
PopulateObjectOverloaded. Populates an object based on a result set.
PopulateProxyOverloaded. Populates a proxy object based upon the contents of a DataRow
RetrieveKeys Populates the referenced object with key field information only.
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

ClassMap Class | AtomsFramework Namespace