# Class PostgresCompositeType

Namespace
  Npgsql.PostgresTypes

Assembly
  Npgsql.dll

Represents a PostgreSQL composite data type, which can hold multiple fields of varying types in a single column.

    public class PostgresCompositeType : PostgresType

Inheritance
  object
  PostgresType
  PostgresCompositeType

Inherited Members
  PostgresType.OID
  PostgresType.Namespace
  PostgresType.Name
  PostgresType.FullName
  PostgresType.DisplayName
  PostgresType.InternalName
  PostgresType.Array
  PostgresType.Range
  PostgresType.ToString()
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)

## Remarks

See https://www.postgresql.org/docs/current/static/rowtypes.html.

## Properties

### Fields

Holds the name and types for all fields.

    public IReadOnlyList<PostgresCompositeType.Field> Fields { get; }

#### Property Value

IReadOnlyList<PostgresCompositeType.Field>