@@ -539,8 +539,8 @@ static DataTable GetDataTypes(NpgsqlConnection conn)
539539
540540 foreach ( var baseType in connector . DatabaseInfo . BaseTypes )
541541 {
542- if ( ! connector . TypeMapper . Mappings . TryGetValue ( baseType . Name , out var mapping ) &&
543- ! connector . TypeMapper . Mappings . TryGetValue ( baseType . FullName , out mapping ) )
542+ if ( ! connector . TypeMapper . InternalMappings . TryGetValue ( baseType . Name , out var mapping ) &&
543+ ! connector . TypeMapper . InternalMappings . TryGetValue ( baseType . FullName , out mapping ) )
544544 continue ;
545545
546546 var row = table . Rows . Add ( ) ;
@@ -556,8 +556,8 @@ static DataTable GetDataTypes(NpgsqlConnection conn)
556556
557557 foreach ( var arrayType in connector . DatabaseInfo . ArrayTypes )
558558 {
559- if ( ! connector . TypeMapper . Mappings . TryGetValue ( arrayType . Element . Name , out var elementMapping ) &&
560- ! connector . TypeMapper . Mappings . TryGetValue ( arrayType . Element . FullName , out elementMapping ) )
559+ if ( ! connector . TypeMapper . InternalMappings . TryGetValue ( arrayType . Element . Name , out var elementMapping ) &&
560+ ! connector . TypeMapper . InternalMappings . TryGetValue ( arrayType . Element . FullName , out elementMapping ) )
561561 continue ;
562562
563563 var row = table . Rows . Add ( ) ;
@@ -577,8 +577,8 @@ static DataTable GetDataTypes(NpgsqlConnection conn)
577577
578578 foreach ( var rangeType in connector . DatabaseInfo . RangeTypes )
579579 {
580- if ( ! connector . TypeMapper . Mappings . TryGetValue ( rangeType . Subtype . Name , out var elementMapping ) &&
581- ! connector . TypeMapper . Mappings . TryGetValue ( rangeType . Subtype . FullName , out elementMapping ) )
580+ if ( ! connector . TypeMapper . InternalMappings . TryGetValue ( rangeType . Subtype . Name , out var elementMapping ) &&
581+ ! connector . TypeMapper . InternalMappings . TryGetValue ( rangeType . Subtype . FullName , out elementMapping ) )
582582 continue ;
583583
584584 var row = table . Rows . Add ( ) ;
@@ -598,8 +598,8 @@ static DataTable GetDataTypes(NpgsqlConnection conn)
598598
599599 foreach ( var enumType in connector . DatabaseInfo . EnumTypes )
600600 {
601- if ( ! connector . TypeMapper . Mappings . TryGetValue ( enumType . Name , out var mapping ) &&
602- ! connector . TypeMapper . Mappings . TryGetValue ( enumType . FullName , out mapping ) )
601+ if ( ! connector . TypeMapper . InternalMappings . TryGetValue ( enumType . Name , out var mapping ) &&
602+ ! connector . TypeMapper . InternalMappings . TryGetValue ( enumType . FullName , out mapping ) )
603603 continue ;
604604
605605 var row = table . Rows . Add ( ) ;
@@ -613,8 +613,8 @@ static DataTable GetDataTypes(NpgsqlConnection conn)
613613
614614 foreach ( var compositeType in connector . DatabaseInfo . CompositeTypes )
615615 {
616- if ( ! connector . TypeMapper . Mappings . TryGetValue ( compositeType . Name , out var mapping ) &&
617- ! connector . TypeMapper . Mappings . TryGetValue ( compositeType . FullName , out mapping ) )
616+ if ( ! connector . TypeMapper . InternalMappings . TryGetValue ( compositeType . Name , out var mapping ) &&
617+ ! connector . TypeMapper . InternalMappings . TryGetValue ( compositeType . FullName , out mapping ) )
618618 continue ;
619619
620620 var row = table . Rows . Add ( ) ;
@@ -628,8 +628,8 @@ static DataTable GetDataTypes(NpgsqlConnection conn)
628628
629629 foreach ( var domainType in connector . DatabaseInfo . DomainTypes )
630630 {
631- if ( ! connector . TypeMapper . Mappings . TryGetValue ( domainType . BaseType . Name , out var baseMapping ) &&
632- ! connector . TypeMapper . Mappings . TryGetValue ( domainType . BaseType . FullName , out baseMapping ) )
631+ if ( ! connector . TypeMapper . InternalMappings . TryGetValue ( domainType . BaseType . Name , out var baseMapping ) &&
632+ ! connector . TypeMapper . InternalMappings . TryGetValue ( domainType . BaseType . FullName , out baseMapping ) )
633633 continue ;
634634
635635 var row = table . Rows . Add ( ) ;
0 commit comments