Add the Property to this PersistentClass.

Namespace:  NHibernate.Mapping
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Overrides Sub AddProperty ( _
	p As Property _
)
C#
public override void AddProperty(
	Property p
)
Visual C++
public:
virtual void AddProperty(
	Property^ p
) override
JavaScript
function addProperty(p);

Parameters

p
Type: NHibernate.Mapping..::.Property
The Property to add.

Remarks

This also adds the Property to the Superclass' collection of Subclass Properties.

See Also