We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 325cf1e commit d6dd56aCopy full SHA for d6dd56a
src/FluentNHibernate/Visitors/SeparateSubclassVisitor.cs
@@ -91,7 +91,7 @@ private IDictionary<int, IList<IIndeterminateSubclassMappingProvider>> SortByDis
91
var subclassType = subclassProvider.EntityType;
92
var level = 0;
93
94
- bool implOfParent = parentType.IsInterface
+ bool implOfParent = (parentType.IsInterface || subclassType.IsInterface)
95
? DistanceFromParentInterface(parentType, subclassType, ref level)
96
: DistanceFromParentBase(parentType, subclassType.BaseType, ref level);
97
0 commit comments