@@ -20,7 +20,7 @@ public class AssignmentSpecification
20
20
{
21
21
private readonly IASTNode _eq ;
22
22
private readonly ISessionFactoryImplementor _factory ;
23
- private readonly ISet < string > _tableNames ;
23
+ private readonly HashSet < string > _tableNames ;
24
24
private readonly IParameterSpecification [ ] _hqlParameters ;
25
25
private SqlString _sqlAssignmentString ;
26
26
@@ -56,15 +56,15 @@ public AssignmentSpecification(IASTNode eq, IQueryable persister)
56
56
var temp = new HashedSet < string > ( ) ;
57
57
// yuck!
58
58
var usep = persister as UnionSubclassEntityPersister ;
59
- if ( usep != null )
59
+ if ( usep != null )
60
60
{
61
61
temp . AddAll ( persister . ConstraintOrderedTableNameClosure ) ;
62
62
}
63
63
else
64
64
{
65
65
temp . Add ( persister . GetSubclassTableName ( persister . GetSubclassPropertyTableNumber ( propertyPath ) ) ) ;
66
66
}
67
- _tableNames = new ImmutableSet < string > ( temp ) ;
67
+ _tableNames = new HashSet < string > ( temp ) ;
68
68
69
69
if ( rhs == null )
70
70
{
@@ -85,6 +85,7 @@ public AssignmentSpecification(IASTNode eq, IQueryable persister)
85
85
}
86
86
}
87
87
}
88
+
88
89
public bool AffectsTable ( string tableName )
89
90
{
90
91
return _tableNames . Contains ( tableName ) ;
@@ -125,7 +126,7 @@ private static void ValidateLhs(FromReferenceNode lhs)
125
126
126
127
public IParameterSpecification [ ] Parameters
127
128
{
128
- get { return _hqlParameters ; }
129
+ get { return _hqlParameters ; }
129
130
}
130
131
131
132
public SqlString SqlAssignmentFragment
0 commit comments