Show / Hide Table of Contents

Class PostgresEnumType

Represents a PostgreSQL enum data type.

Inheritance
System.Object
PostgresType
PostgresEnumType
Inherited Members
PostgresType.OID
PostgresType.Namespace
PostgresType.Name
PostgresType.FullName
PostgresType.DisplayName
PostgresType.InternalName
PostgresType.Array
PostgresType.Range
PostgresType.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Npgsql.PostgresTypes
Assembly: Npgsql.dll
Syntax
public class PostgresEnumType : PostgresType
Remarks

See https://www.postgresql.org/docs/current/static/datatype-enum.html.

Constructors

PostgresEnumType(String, String, UInt32)

Constructs a representation of a PostgreSQL enum data type.

Declaration
protected PostgresEnumType(string ns, string name, uint oid)
Parameters
Type Name Description
System.String ns
System.String name
System.UInt32 oid

Properties

Labels

The enum's fields.

Declaration
public IReadOnlyList<string> Labels { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<System.String>
Back to top Generated by DocFX