Property of an entity class or component, component-element, composite-id, etc. Class Properties (get_ and set_ methods) are mapped to table columns

Namespace: NHibernate.Mapping.Attributes
Assembly:   NHibernate.Mapping.Attributes (in NHibernate.Mapping.Attributes)
Version: 1.2.0.4000

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class PropertyAttribute _
	Inherits BaseAttribute
C#
[SerializableAttribute]
public class PropertyAttribute : BaseAttribute
Visual C++
[SerializableAttribute]
public ref class PropertyAttribute : public BaseAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    NHibernate.Mapping.Attributes.BaseAttribute
      NHibernate.Mapping.Attributes.PropertyAttribute