internal MappedEnumHandler(PostgresType pgType, INpgsqlNameTranslator nameTranslator, NpgsqlConnection conn) : base(pgType) { _nameTranslator = nameTranslator; _conn = conn; _wrappedHandler = (UnmappedEnumHandler) new UnmappedEnumTypeHandlerFactory(_nameTranslator).Create(PostgresType, _conn); }
void WrapHandler() { _wrappedHandler = (UnmappedEnumHandler) new UnmappedEnumTypeHandlerFactory(_nameTranslator).Create(PostgresType, _conn); }