Skip to content

Commit f76cf81

Browse files
NH-4034, cleanup to be squashed.
1 parent 8b86bb6 commit f76cf81

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/NHibernate.Test/TransactionTest/Person.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ public class Person
88

99
public virtual DateTime CreatedAt { get; set; } = DateTime.Now;
1010

11-
public virtual string NotNullData { get; set; } = "not-null";
12-
1311
public virtual Person Related { get; set; }
1412
}
1513
}
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
3-
namespace="NHibernate.Test.TransactionTest"
4-
assembly="NHibernate.Test">
3+
namespace="NHibernate.Test.TransactionTest"
4+
assembly="NHibernate.Test">
55

6-
<class name="Person">
7-
<id name="Id">
8-
<generator class="hilo"/>
9-
</id>
6+
<class name="Person">
7+
<id name="Id">
8+
<generator class="hilo"/>
9+
</id>
1010
<property name="CreatedAt"/>
11-
<property name="NotNullData"/> <!-- NOT NULL will be set on created schema directly to avoid NH checks. -->
1211
<many-to-one name="Related" class="Person" />
13-
</class>
12+
</class>
1413
</hibernate-mapping>

0 commit comments

Comments
 (0)