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()
    Namespace: Npgsql.PostgresTypes
    Assembly: Npgsql.dll
    Syntax
    public class PostgresEnumType : PostgresType
    Remarks

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

    Constructors

    | Improve this Doc View Source

    PostgresEnumType(string, string, uint)

    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
    uint oid
    Remarks

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

    Properties

    | Improve this Doc View Source

    Labels

    The enum's fields.

    Declaration
    public IReadOnlyList<string> Labels { get; }
    Property Value
    Type Description
    IReadOnlyList<><string>
    Remarks

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

    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team