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 fc00120 commit 7d17eebCopy full SHA for 7d17eeb
src/NHibernate.Test/NHSpecificTest/GH2608/Fixture.cs
@@ -29,5 +29,18 @@ public void MergeBidiPrimaryKeyOneToOne()
29
tx.Commit();
30
}
31
32
+
33
+ [Test]
34
+ public void PersistBidiPrimaryKeyOneToOne()
35
+ {
36
+ using (var s = OpenSession())
37
+ using (var tx = s.BeginTransaction())
38
39
+ var p = new Person { Name = "steve" };
40
+ p.Details = new PersonalDetails { SomePersonalDetail = "I have big feet", Person = p };
41
+ s.Persist(p);
42
+ tx.Commit();
43
+ }
44
45
46
0 commit comments