Skip to content

Commit cc57cf2

Browse files
committed
Merge pull request #83 from MarkJPerry/master
FIX for : #45
2 parents c24de5a + f638a89 commit cc57cf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FluentNHibernate/Cfg/FluentMappingsContainer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ internal void Apply(PersistenceModel model)
127127
model.Add(type);
128128
}
129129

130+
model.Conventions.Merge(conventionFinder);
131+
130132
if (!string.IsNullOrEmpty(exportPath))
131133
model.WriteMappingsTo(exportPath);
132134

@@ -135,8 +137,6 @@ internal void Apply(PersistenceModel model)
135137

136138
if (biDirectionalManyToManyPairer != null)
137139
model.BiDirectionalManyToManyPairer = biDirectionalManyToManyPairer;
138-
139-
model.Conventions.Merge(conventionFinder);
140140
}
141141
}
142142
}

0 commit comments

Comments
 (0)