Table of Contents

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
HackyEnumTypeMapping
Inherited Members

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