@@ -29,13 +29,21 @@ namespace NHibernate.Mapping
29
29
}
30
30
31
31
private bool isIgnoreNotFound = false;
32
+ private bool isLogicalOneToOne;
32
33
33
34
public bool IsIgnoreNotFound
34
35
{
35
36
get { return isIgnoreNotFound; }
36
37
set { isIgnoreNotFound = value; }
37
38
}
38
39
40
+ public bool IsLogicalOneToOne
41
+ {
42
+ get
43
+ { return isLogicalOneToOne; }
44
+ set { isLogicalOneToOne = value; }
45
+ }
46
+
39
47
private IType type;
40
48
public override IType Type
41
49
{
@@ -44,7 +52,7 @@ namespace NHibernate.Mapping
44
52
if (type == null)
45
53
{
46
54
type =
47
- TypeFactory.ManyToOne(ReferencedEntityName, ReferencedPropertyName, IsLazy, UnwrapProxy, Embedded, IsIgnoreNotFound);
55
+ TypeFactory.ManyToOne(ReferencedEntityName, ReferencedPropertyName, IsLazy, UnwrapProxy, Embedded, IsIgnoreNotFound, isLogicalOneToOne );
48
56
}
49
57
return type;
50
58
}
@@ -127,8 +135,7 @@ namespace NHibernate.Mapping
127
135
128
136
public bool IsLogicalOneToOne
129
137
{
130
- get
131
- { return isLogicalOneToOne; }
138
+ get { return isLogicalOneToOne; }
132
139
set { isLogicalOneToOne = value; }
133
140
}
134
141
@@ -182,5 +189,5 @@ namespace NHibernate.Mapping
182
189
}
183
190
}
184
191
}
185
- >>>>>>> For NH-1262: Ported cascade delete orphans functionality for one-to-one mappings from Hibernate to NHibernate .
192
+ >>>>>>> Fixed formatting on IsLogicalOneToOne property .
186
193
}
0 commit comments