# Class UserTypeMapping

Namespace
  Npgsql.TypeMapping

Assembly
  Npgsql.dll

The base class for user type mappings.

    public abstract class UserTypeMapping

Inheritance
  object
  UserTypeMapping

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

## Properties

### ClrType

The CLR type that this mapping is for.

    public Type ClrType { get; }

#### Property Value

Type

### PgTypeName

The name of the PostgreSQL type that this mapping is for.

    public string PgTypeName { get; }

#### Property Value

string