File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ public async Task LazyAsync()
72
72
73
73
p2 = await ( s . CreateQuery ( "from Person where name='Emmanuel'" ) . UniqueResultAsync < Person > ( ) ) ;
74
74
Assert . That ( p2 . Employee , Is . Null ) ;
75
+ Assert . That ( p2 . Employee , Is . Null ) ;
75
76
await ( t . CommitAsync ( ) ) ;
76
77
s . Close ( ) ;
77
78
@@ -86,6 +87,7 @@ public async Task LazyAsync()
86
87
87
88
p2 = await ( s . GetAsync < Person > ( "Emmanuel" ) ) ;
88
89
Assert . That ( p2 . Employee , Is . Null ) ;
90
+ Assert . That ( p2 . Employee , Is . Null ) ;
89
91
await ( s . DeleteAsync ( p2 ) ) ;
90
92
await ( s . DeleteAsync ( old ) ) ;
91
93
await ( s . DeleteAsync ( p ) ) ;
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ public void Lazy()
61
61
62
62
p2 = s . CreateQuery ( "from Person where name='Emmanuel'" ) . UniqueResult < Person > ( ) ;
63
63
Assert . That ( p2 . Employee , Is . Null ) ;
64
+ Assert . That ( p2 . Employee , Is . Null ) ;
64
65
t . Commit ( ) ;
65
66
s . Close ( ) ;
66
67
@@ -75,6 +76,7 @@ public void Lazy()
75
76
76
77
p2 = s . Get < Person > ( "Emmanuel" ) ;
77
78
Assert . That ( p2 . Employee , Is . Null ) ;
79
+ Assert . That ( p2 . Employee , Is . Null ) ;
78
80
s . Delete ( p2 ) ;
79
81
s . Delete ( old ) ;
80
82
s . Delete ( p ) ;
You can’t perform that action at this time.
0 commit comments