Skip to content

Commit 59c2345

Browse files
committed
Fix NH3614 test case of sql server ce.
1 parent 6083c5e commit 59c2345

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/NHibernate.Test/NHSpecificTest/NH3614/Entity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace NHibernate.Test.NHSpecificTest.NH3614
77
{
88
public class Entity
99
{
10-
public virtual int Id { get; protected set; }
10+
public virtual Guid Id { get; protected set; }
1111
public virtual IList<string> SomeStrings { get; set; }
1212
}
1313
}

src/NHibernate.Test/NHSpecificTest/NH3614/Fixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class Fixture : BugTestCase
1313
[Test]
1414
public void CanProjectListOfStrings()
1515
{
16-
int id;
16+
Guid id;
1717
using (var s = OpenSession())
1818
using (var tx = s.BeginTransaction())
1919
{

src/NHibernate.Test/NHSpecificTest/NH3614/Mappings.hbm.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
namespace="NHibernate.Test.NHSpecificTest.NH3614">
55

66
<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>
1010

1111
<bag name="SomeStrings" table="SomeStrings" cascade="all-delete-orphan" >
1212
<key>

0 commit comments

Comments
 (0)