File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ public void ListAdd(bool initialize)
103
103
Assert . That ( Sfi . Statistics . PrepareStatementCount , Is . EqualTo ( 0 ) , "Statements count after adding through IList" ) ;
104
104
Assert . That ( NHibernateUtil . IsInitialized ( gavin . Companies ) , Is . False , "Companies initialization status after adding through IList" ) ;
105
105
106
-
107
106
// Check existence of added companies
108
107
Sfi . Statistics . Clear ( ) ;
109
108
// Have to skip unloaded (non-queued indeed) elements to avoid triggering existence queries on them.
@@ -1031,7 +1030,6 @@ public void ListClear(bool initialize)
1031
1030
Assert . That ( collection . Count , Is . EqualTo ( 2 ) , "Credit cards count after enumerating" ) ;
1032
1031
}
1033
1032
1034
-
1035
1033
t . Commit ( ) ;
1036
1034
}
1037
1035
@@ -1489,7 +1487,6 @@ public void SetAddTransient(bool initialize)
1489
1487
Assert . That ( Sfi . Statistics . PrepareStatementCount , Is . EqualTo ( 6 ) , "Statements count after re-adding loaded elements" ) ;
1490
1488
Assert . That ( NHibernateUtil . IsInitialized ( gavin . Permissions ) , Is . False , "Permissions initialization status after re-adding loaded elements" ) ;
1491
1489
1492
-
1493
1490
// Test adding permissions with ISet interface
1494
1491
Sfi . Statistics . Clear ( ) ;
1495
1492
for ( var i = 0 ; i < 5 ; i ++ )
@@ -1820,7 +1817,6 @@ public void SetClear(bool initialize)
1820
1817
Assert . That ( collection . Count , Is . EqualTo ( 2 ) , "Permissions count after enumerating" ) ;
1821
1818
}
1822
1819
1823
-
1824
1820
t . Commit ( ) ;
1825
1821
}
1826
1822
Original file line number Diff line number Diff line change @@ -1024,7 +1024,7 @@ public bool WasInitialized
1024
1024
}
1025
1025
1026
1026
/// <summary> Does this instance have any "queued" additions?</summary>
1027
- public bool HasQueuedOperations => operationQueue != null && operationQueue . Count > 0 || _queueOperationTracker ? . HasChanges ( ) == true ;
1027
+ public bool HasQueuedOperations => ( operationQueue != null && operationQueue . Count > 0 ) || _queueOperationTracker ? . HasChanges ( ) == true ;
1028
1028
1029
1029
/// <summary></summary>
1030
1030
public IEnumerable QueuedAdditionIterator
You can’t perform that action at this time.
0 commit comments