Adds a Subclass to the class hierarchy.
Namespace: NHibernate.MappingAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override void AddSubclass( Subclass subclass ) |
Visual Basic |
---|
Public Overrides Sub AddSubclass ( _ subclass As Subclass _ ) |
Visual C++ |
---|
public: virtual void AddSubclass( Subclass^ subclass ) override |
Parameters
- subclass
- Type: NHibernate.Mapping..::..Subclass
The Subclass to add to the hierarchy.
Remarks
When a Subclass is added this mapped class has the property IsPolymorphic
set to trueTruetruetrue (True in Visual Basic).