@@ -41,12 +41,12 @@ public QueryAndBindings(SqlSelect initialQuery, List<QueryParameterBinding> bind
4141 }
4242 }
4343
44- private static readonly ConcurrentDictionary < int , Func < ParameterContext , object > > typeIdParameterAccessorByTypeId =
44+ private static readonly ConcurrentDictionary < int , Func < ParameterContext , object > > typeIdParameterAccessorCache =
4545 new ConcurrentDictionary < int , Func < ParameterContext , object > > ( ) ;
4646
4747 private static readonly Func < int , Func < ParameterContext , object > > AccessorFactory = typeId => _ => typeId ;
4848
49- private TypeMapping int32typeMapping ;
49+ private TypeMapping int32TypeMapping ;
5050
5151 protected override SqlProvider VisitFreeText ( FreeTextProvider provider )
5252 {
@@ -357,8 +357,8 @@ private object GetDiscriminatorValue(TypeDiscriminatorMap discriminatorMap, obje
357357
358358 private QueryParameterBinding CreateQueryParameterBinding ( TypeInfo type ) =>
359359 new QueryParameterBinding (
360- int32typeMapping ??= Driver . GetTypeMapping ( WellKnownTypes . Int32 ) ,
361- typeIdParameterAccessorByTypeId . GetOrAdd ( TypeIdRegistry [ type ] , AccessorFactory ) ,
360+ int32TypeMapping ??= Driver . GetTypeMapping ( WellKnownTypes . Int32 ) ,
361+ typeIdParameterAccessorCache . GetOrAdd ( TypeIdRegistry [ type ] , AccessorFactory ) ,
362362 QueryParameterBindingType . Regular
363363 ) ;
364364 }
0 commit comments