Force the many-to-one to a different type than the one of the property.
Namespace: NHibernate.Mapping.ByCodeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void Class( Type entityType ) |
Visual Basic |
---|
Sub Class ( _ entityType As Type _ ) |
Visual C++ |
---|
void Class( Type^ entityType ) |
Parameters
- entityType
- Type: System..::..Type
Mapped entity type.
Remarks
Useful when the property is an interface and you need the mapping to a concrete class mapped as entity.