File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/NHibernate.Test/NHSpecificTest/NH3614 Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace NHibernate.Test.NHSpecificTest.NH3614
7
7
{
8
8
public class Entity
9
9
{
10
- public virtual int Id { get ; protected set ; }
10
+ public virtual Guid Id { get ; protected set ; }
11
11
public virtual IList < string > SomeStrings { get ; set ; }
12
12
}
13
13
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class Fixture : BugTestCase
13
13
[ Test ]
14
14
public void CanProjectListOfStrings ( )
15
15
{
16
- int id ;
16
+ Guid id ;
17
17
using ( var s = OpenSession ( ) )
18
18
using ( var tx = s . BeginTransaction ( ) )
19
19
{
Original file line number Diff line number Diff line change 4
4
namespace=" NHibernate.Test.NHSpecificTest.NH3614" >
5
5
6
6
<class name =" Entity" >
7
- <id name =" Id" >
8
- <generator class =" native " />
9
- </id >
7
+ <id name =" Id" type = " guid " >
8
+ <generator class =" guid.comb " />
9
+ </id >
10
10
11
11
<bag name =" SomeStrings" table =" SomeStrings" cascade =" all-delete-orphan" >
12
12
<key >
You can’t perform that action at this time.
0 commit comments