[Missing namespace summary documentation for N:NHibernate.Mapping.Attributes]
Classes
| Class | Description | |
|---|---|---|
| AnyAttribute | ||
| ArrayAttribute | ||
| AttributeIdentifierAttribute | Use this attribute to give a value to a field identified in a mapping attribute. | |
| BagAttribute | ||
| BaseAttribute |
Attribute taking an order position.
| |
| CacheAttribute | ||
| ClassAttribute | Root of an entity class hierarchy. Entities have their own tables | |
| CollectionIdAttribute | ||
| ColumnAttribute | ||
| ComponentAttribute | Map properties of a child object to columns of the table of a parent class | |
| ComponentPropertyAttribute | Use this attribute to define a "component" on a property/field. | |
| CompositeElementAttribute | ||
| CompositeIdAttribute | A composite key may be modelled by a .NET class with a property for each key column. The class must be Serializable and override equals() and hashCode() | |
| CompositeIndexAttribute | ||
| CreateAttribute | ||
| DatabaseObjectAttribute | ||
| DialectScopeAttribute | ||
| DiscriminatorAttribute | Polymorphic data requires a column holding a class discriminator value. This value is not directly exposed to the application | |
| DropAttribute | ||
| DynamicComponentAttribute | ||
| ElementAttribute | ||
| FilterAttribute | ||
| FilterDefAttribute | ||
| FilterParamAttribute | ||
| GeneratorAttribute | Tells which algorithm to use to generate the identifier | |
| HbmSerializer |
Build hbm.xml files from entities (Class, Subclass or JoinedSubclass).
| |
| HbmWriter | Write a XmlSchemaElement from attributes in a System.Type. | |
| HbmWriterEx |
Customized HbmWriter.
Support ComponentPropertyAttribute.
| |
| HbmWriterHelper |
Return the value to use when a (required) attribute is not specified.
Note: Implementations of Get_XXX_YYY_DefaultValue()
return [type|property].Name; // YYY is the "identifier" of XXX
ThrowRequiredValueNotProvidedException(); // There is no way to get it
| |
| HbmWriterHelperEx |
Customized HbmWriterHelper.
Support ComponentPropertyAttribute.
| |
| HibernateMappingAttribute | hibernate-mapping is the document root | |
| IdAttribute | Declares the id type, column and generation algorithm for an entity class. If a name attribute is given, the id is exposed to the application through the named property of the class. If not, the id is only exposed to the application via Session.getIdentifier() | |
| IdBagAttribute | ||
| ImportAttribute | An explicit query language "import" | |
| IndexAttribute | ||
| IndexManyToAnyAttribute | ||
| IndexManyToManyAttribute | ||
| JcsCacheAttribute | ||
| JoinedSubclassAttribute | Joined subclasses are used for the normalized table-per-subclass mapping strategy | |
| KeyAttribute | ||
| KeyManyToOneAttribute | ||
| KeyPropertyAttribute | ||
| ListAttribute | ||
| LoadCollectionAttribute | ||
| LoaderAttribute | ||
| ManyToAnyAttribute | ||
| ManyToManyAttribute | ||
| ManyToOneAttribute | ||
| MapAttribute | ||
| MappingException |
Exception occuring when NHibernate.Mapping.Attributes finds an error in your mapping (using its .NET attributes).
Most of the time, the error is due to an omission of a required type/name in the mapping.
| |
| MetaAttribute | ||
| MetaValueAttribute | ||
| NestedCompositeElementAttribute | ||
| OneToManyAttribute | ||
| OneToOneAttribute | ||
| ParamAttribute | ||
| ParentAttribute | ||
| PrimitiveArrayAttribute | ||
| PropertyAttribute | Property of an entity class or component, component-element, composite-id, etc. Class Properties (get_ and set_ methods) are mapped to table columns | |
| QueryAttribute | ||
| RawXmlAttribute | Use this attribute to add any XML at a specific place. | |
| ResultSetAttribute | ||
| ReturnAttribute | ||
| ReturnColumnAttribute | ||
| ReturnDiscriminatorAttribute | ||
| ReturnJoinAttribute | ||
| ReturnPropertyAttribute | ||
| ReturnScalarAttribute | ||
| SetAttribute | ||
| SqlDeleteAllAttribute | ||
| SqlDeleteAttribute | ||
| SqlInsertAttribute | ||
| SqlQueryAttribute | ||
| SqlUpdateAttribute | ||
| SubclassAttribute | Subclass declarations are nested beneath the root class declaration to achieve polymorphic persistence | |
| SynchronizeAttribute | ||
| TimestampAttribute | Is equivalent to <version type="timestamp"> | |
| TypeAttribute | ||
| VersionAttribute | Versioned data requires a column holding a version number. This is exposed to the application through a property of the .NET class |
Enumerations
| Enumeration | Description | |
|---|---|---|
| CacheUsage | ||
| CascadeStyle | Rule as to how to operate on child objects (for more information, read topics about "persistence by reachability" or "transparent/transitive/cascading persistence") | |
| CollectionFetchMode | ||
| CustomSqlCheck | ||
| FetchMode | ||
| FlushMode | ||
| JcsCacheUsage | ||
| Laziness | ||
| LockMode | ||
| NotFoundMode | ||
| OptimisticLockMode | ||
| OuterJoinStrategy | ||
| PolymorphismType | Types of polymorphism | |
| PropertyGeneration | ||
| RestrictedLaziness | ||
| UnsavedValueType | Values used to restrict composite-id, does not apply to meta/column/generator | |
| VersionGeneration |