Search Results for

    Show / Hide Table of Contents

    Class PostgresEnumType

    Represents a PostgreSQL enum data type.

    Inheritance
    Object
    PostgresType
    PostgresEnumType
    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)
    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
    String ns
    String name
    UInt32 oid

    Properties

    Labels

    The enum's fields.

    Declaration
    public IReadOnlyList<string> Labels { get; }
    Property Value
    Type Description
    IReadOnlyList<String>
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team