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()
7272
7373 p2 = await ( s . CreateQuery ( "from Person where name='Emmanuel'" ) . UniqueResultAsync < Person > ( ) ) ;
7474 Assert . That ( p2 . Employee , Is . Null ) ;
75+ Assert . That ( p2 . Employee , Is . Null ) ;
7576 await ( t . CommitAsync ( ) ) ;
7677 s . Close ( ) ;
7778
@@ -86,6 +87,7 @@ public async Task LazyAsync()
8687
8788 p2 = await ( s . GetAsync < Person > ( "Emmanuel" ) ) ;
8889 Assert . That ( p2 . Employee , Is . Null ) ;
90+ Assert . That ( p2 . Employee , Is . Null ) ;
8991 await ( s . DeleteAsync ( p2 ) ) ;
9092 await ( s . DeleteAsync ( old ) ) ;
9193 await ( s . DeleteAsync ( p ) ) ;
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ public void Lazy()
6161
6262 p2 = s . CreateQuery ( "from Person where name='Emmanuel'" ) . UniqueResult < Person > ( ) ;
6363 Assert . That ( p2 . Employee , Is . Null ) ;
64+ Assert . That ( p2 . Employee , Is . Null ) ;
6465 t . Commit ( ) ;
6566 s . Close ( ) ;
6667
@@ -75,6 +76,7 @@ public void Lazy()
7576
7677 p2 = s . Get < Person > ( "Emmanuel" ) ;
7778 Assert . That ( p2 . Employee , Is . Null ) ;
79+ Assert . That ( p2 . Employee , Is . Null ) ;
7880 s . Delete ( p2 ) ;
7981 s . Delete ( old ) ;
8082 s . Delete ( p ) ;
You can’t perform that action at this time.
0 commit comments