Skip to content

Commit d705405

Browse files
owerkopchester89
authored andcommitted
Fixed RelationshipPairingVisitor - added missing check for property types correspondence to avoid pair wrong properties.
1 parent ffe9772 commit d705405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FluentNHibernate/Visitors/RelationshipPairingVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static CollectionMapping PairFuzzyMatches(IEnumerable<CollectionMapping> rs, Col
171171
static CollectionMapping PairExactMatches(IEnumerable<CollectionMapping> rs, CollectionMapping current, IEnumerable<CollectionMapping> potentialOtherSides)
172172
{
173173
var otherSide = potentialOtherSides.Single();
174-
174+
175175
// got the other side of the relationship
176176
// lets make sure that the side that we're on now (mapping!)
177177
// is actually the relationship we want

0 commit comments

Comments
 (0)