Skip to content

Commit 4ec16a2

Browse files
committed
Merge pull request #311 from rjperes/NH-3667
NH-3667 & NH-3102 Dictionary mapping-by-code improvements
2 parents c9dd544 + 006537c commit 4ec16a2

File tree

5 files changed

+547
-2
lines changed

5 files changed

+547
-2
lines changed

src/NHibernate.Test/MappingByCode/IntegrationTests/NH3140/Fixture.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public void ExplicitColumnNameIsAlwaysMapped(string columnName)
1515
mapper.Class<Foo>(cm => cm.Bag(x => x.Bars,
1616
bpm => { },
1717
cer => cer.ManyToMany(mtmm => mtmm.Column(columnName))));
18+
mapper.Class<Bar>(cm => cm.Id(x => x.Id));
1819
var mapping = mapper.CompileMappingFor(new[] { typeof(Foo), typeof(Bar) });
1920
var hbmClass = mapping.RootClasses.Single(x => x.Name == "Foo");
2021
var hbmBag = hbmClass.Properties.OfType<HbmBag>().Single();

0 commit comments

Comments
 (0)