# Class TypeInfoMappingHelpers

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    public static class TypeInfoMappingHelpers

Inheritance
  object
  TypeInfoMappingHelpers

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Methods

### CreateInfo(TypeInfoMapping, PgSerializerOptions, PgConverter, DataFormat?, bool)

    public static PgTypeInfo CreateInfo(this TypeInfoMapping mapping, PgSerializerOptions options, PgConverter converter, DataFormat? preferredFormat = null, bool supportsWriting = true)

#### Parameters

`mapping` TypeInfoMapping
`options` PgSerializerOptions
`converter` PgConverter
`preferredFormat` DataFormat?
`supportsWriting` bool

#### Returns

PgTypeInfo

### CreateInfo(TypeInfoMapping, PgSerializerOptions, PgConverterResolver, bool, DataFormat?, bool)

    public static PgResolverTypeInfo CreateInfo(this TypeInfoMapping mapping, PgSerializerOptions options, PgConverterResolver resolver, bool includeDataTypeName = true, DataFormat? preferredFormat = null, bool supportsWriting = true)

#### Parameters

`mapping` TypeInfoMapping
`options` PgSerializerOptions
`resolver` PgConverterResolver
`includeDataTypeName` bool
`preferredFormat` DataFormat?
`supportsWriting` bool

#### Returns

PgResolverTypeInfo