Get all candidate persistent properties or fields for a given entity subclass or interface.
Namespace: NHibernate.Mapping.ByCode.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IEnumerable<MemberInfo> GetSubEntityMembers( Type entityClass, Type entitySuperclass ) |
Visual Basic |
---|
Function GetSubEntityMembers ( _ entityClass As Type, _ entitySuperclass As Type _ ) As IEnumerable(Of MemberInfo) |
Visual C++ |
---|
IEnumerable<MemberInfo^>^ GetSubEntityMembers( Type^ entityClass, Type^ entitySuperclass ) |
Parameters
- entityClass
- Type: System..::..Type
The entity subclass or interface.
- entitySuperclass
- Type: System..::..Type
The superclass (it may be different from BaseType)
Return Value
All candidate properties or fields.Remarks
In NHibernate, for a subclass, the method should return only those members not included in
its super-classes.