Skip to content

Commit 897f837

Browse files
committed
Fix SqlServerCe for nhibernate#3314
1 parent b33095e commit 897f837

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23

34
namespace NHibernate.Test.NHSpecificTest.GH3288
45
{
@@ -10,6 +11,7 @@ class TopEntity
1011
class MiddleEntity
1112
{
1213
public virtual int Id { get; set; }
14+
public virtual string Name { get; set; }
1315
public virtual ISet<Component> Components { get; set; } = new HashSet<Component>();
1416
}
1517

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<id name="Id" >
1414
<generator class="identity" />
1515
</id>
16+
<property name="Name" />
1617
<set cascade="all" name="Components" table="BottomEntity">
1718
<key not-null="true">
1819
<column name="MiddleEntity_id" />

0 commit comments

Comments
 (0)