File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ protected override HbmMapping GetMappings()
48
48
rc . Property ( x => x . NullableEnum , m =>
49
49
{
50
50
m . Type ( _enumType ) ;
51
- m . Formula ( $ "(case when Enum = { _unspecifiedValue } then null else Enum end)") ;
51
+ m . Formula ( $ "(case when ` Enum` = { _unspecifiedValue } then null else ` Enum` end)") ;
52
52
} ) ;
53
53
rc . ManyToOne ( x => x . Other , m => m . Cascade ( Mapping . ByCode . Cascade . All ) ) ;
54
54
} ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ protected override HbmMapping GetMappings()
35
35
rc . Property ( x => x . NullableEnum , m =>
36
36
{
37
37
m . Type ( _enumType ) ;
38
- m . Formula ( $ "(case when Enum = { _unspecifiedValue } then null else Enum end)") ;
38
+ m . Formula ( $ "(case when ` Enum` = { _unspecifiedValue } then null else ` Enum` end)") ;
39
39
} ) ;
40
40
rc . ManyToOne ( x => x . Other , m => m . Cascade ( Mapping . ByCode . Cascade . All ) ) ;
41
41
} ) ;
You can’t perform that action at this time.
0 commit comments