@@ -46,16 +46,17 @@ public QueryParameters(IType[] positionalParameterTypes, object[] positionalPara
46
46
NaturalKeyLookup = isLookupByNaturalKey ;
47
47
}
48
48
49
+ // Since v5.2
49
50
[ Obsolete ( "Please use QueryParameters(IDictionary<string, TypedValue>, IDictionary<string, LockMode>, " +
50
51
"RowSelection, bool, bool, bool, string, string, bool, IResultTransformer, HashSet<string>) instead." ) ]
51
52
public QueryParameters ( IDictionary < string , TypedValue > namedParameters , IDictionary < string , LockMode > lockModes , RowSelection rowSelection , bool isReadOnlyInitialized ,
52
- bool readOnly , bool cacheable , string cacheRegion , string comment , bool isLookupByNaturalKey , IResultTransformer transformer )
53
+ bool readOnly , bool cacheable , string cacheRegion , string comment , bool isLookupByNaturalKey , IResultTransformer transformer )
53
54
: this (
54
55
namedParameters , lockModes , rowSelection , isReadOnlyInitialized , readOnly , cacheable , cacheRegion , comment , isLookupByNaturalKey ,
55
56
transformer , null ) { }
56
57
57
58
public QueryParameters ( IDictionary < string , TypedValue > namedParameters , IDictionary < string , LockMode > lockModes , RowSelection rowSelection , bool isReadOnlyInitialized ,
58
- bool readOnly , bool cacheable , string cacheRegion , string comment , bool isLookupByNaturalKey , IResultTransformer transformer , HashSet < string > uncacheableCollections )
59
+ bool readOnly , bool cacheable , string cacheRegion , string comment , bool isLookupByNaturalKey , IResultTransformer transformer , HashSet < string > uncacheableCollections )
59
60
: this (
60
61
TypeHelper . EmptyTypeArray , Array . Empty < object > ( ) , namedParameters , lockModes , rowSelection , isReadOnlyInitialized , readOnly , cacheable , cacheRegion , comment , null ,
61
62
transformer , uncacheableCollections )
@@ -64,6 +65,7 @@ public QueryParameters(IDictionary<string, TypedValue> namedParameters, IDiction
64
65
NaturalKeyLookup = isLookupByNaturalKey ;
65
66
}
66
67
68
+ // Since v5.2
67
69
[ Obsolete ( "Please use QueryParameters(IType[], object[], IDictionary<string, TypedValue>, " +
68
70
"IDictionary<string, LockMode>, RowSelection, bool, bool, bool, string, string, object[], IResultTransformer, HashSet<string>) instead." ) ]
69
71
public QueryParameters ( IType [ ] positionalParameterTypes , object [ ] positionalParameterValues , IDictionary < string , TypedValue > namedParameters ,
@@ -74,8 +76,8 @@ public QueryParameters(IType[] positionalParameterTypes, object[] positionalPara
74
76
transformer , null ) { }
75
77
76
78
public QueryParameters ( IType [ ] positionalParameterTypes , object [ ] positionalParameterValues , IDictionary < string , TypedValue > namedParameters ,
77
- IDictionary < string , LockMode > lockModes , RowSelection rowSelection , bool isReadOnlyInitialized , bool readOnly , bool cacheable , string cacheRegion ,
78
- string comment , object [ ] collectionKeys , IResultTransformer transformer , HashSet < string > uncacheableCollections )
79
+ IDictionary < string , LockMode > lockModes , RowSelection rowSelection , bool isReadOnlyInitialized , bool readOnly , bool cacheable , string cacheRegion ,
80
+ string comment , object [ ] collectionKeys , IResultTransformer transformer , HashSet < string > uncacheableCollections )
79
81
{
80
82
PositionalParameterTypes = positionalParameterTypes ?? Array . Empty < IType > ( ) ;
81
83
PositionalParameterValues = positionalParameterValues ?? Array . Empty < object > ( ) ;
@@ -160,7 +162,7 @@ public bool HasRowSelection
160
162
/// <summary>
161
163
/// Indicates if we can add loaded child collections to second level cache.
162
164
/// </summary>
163
- public HashSet < string > UncacheableCollections { get ; set ; }
165
+ public HashSet < string > UncacheableCollections { get ; }
164
166
165
167
public bool ReadOnly
166
168
{
0 commit comments