# Class HackyEnumTypeMapping

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

Hacky temporary measure used by EFCore.PG to extract user-configured enum mappings. Accessed via reflection only.

    public sealed class HackyEnumTypeMapping

Inheritance
  object
  HackyEnumTypeMapping

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

## Constructors

### HackyEnumTypeMapping(Type, string, INpgsqlNameTranslator)

    public HackyEnumTypeMapping(Type enumClrType, string pgTypeName, INpgsqlNameTranslator nameTranslator)

#### Parameters

`enumClrType` Type
`pgTypeName` string
`nameTranslator` INpgsqlNameTranslator

## Properties

### EnumClrType

    public Type EnumClrType { get; }

#### Property Value

Type

### NameTranslator

    public INpgsqlNameTranslator NameTranslator { get; }

#### Property Value

INpgsqlNameTranslator

### PgTypeName

    public string PgTypeName { get; }

#### Property Value

string