File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
src/NHibernate.Test/TransactionTest Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ public class Person
8
8
9
9
public virtual DateTime CreatedAt { get ; set ; } = DateTime . Now ;
10
10
11
- public virtual string NotNullData { get ; set ; } = "not-null" ;
12
-
13
11
public virtual Person Related { get ; set ; }
14
12
}
15
13
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<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" >
5
5
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 >
10
10
<property name =" CreatedAt" />
11
- <property name =" NotNullData" /> <!-- NOT NULL will be set on created schema directly to avoid NH checks. -->
12
11
<many-to-one name =" Related" class =" Person" />
13
- </class >
12
+ </class >
14
13
</hibernate-mapping >
You can’t perform that action at this time.
0 commit comments