Search Results for

    Show / Hide Table of Contents

    Struct DataTypeName

    Represents the fully-qualified name of a PostgreSQL type.

    Implements
    IEquatable<><DataTypeName>
    Namespace: Npgsql.Internal.Postgres
    Assembly: Npgsql.dll
    Syntax
    public readonly struct DataTypeName : IEquatable<DataTypeName>

    Constructors

    | Improve this Doc View Source

    DataTypeName(string)

    Declaration
    public DataTypeName(string fullyQualifiedDataTypeName)
    Parameters
    Type Name Description
    string fullyQualifiedDataTypeName

    Properties

    | Improve this Doc View Source

    DisplayName

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    IsArray

    Declaration
    public bool IsArray { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsDefault

    Declaration
    public bool IsDefault { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    Schema

    Declaration
    public string Schema { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    UnqualifiedDisplayName

    Declaration
    public string UnqualifiedDisplayName { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    UnqualifiedName

    Declaration
    public string UnqualifiedName { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    Value

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string

    Methods

    | Improve this Doc View Source

    Equals(DataTypeName)

    Declaration
    public bool Equals(DataTypeName other)
    Parameters
    Type Name Description
    DataTypeName other
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    FromDisplayName(string, string?)

    Declaration
    public static DataTypeName FromDisplayName(string displayName, string? schema = null)
    Parameters
    Type Name Description
    string displayName
    string? schema
    Returns
    Type Description
    DataTypeName
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    | Improve this Doc View Source

    ToArrayName()

    Declaration
    public DataTypeName ToArrayName()
    Returns
    Type Description
    DataTypeName
    | Improve this Doc View Source

    ToDefaultMultirangeName()

    Declaration
    public DataTypeName ToDefaultMultirangeName()
    Returns
    Type Description
    DataTypeName
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Operators

    | Improve this Doc View Source

    operator ==(DataTypeName, DataTypeName)

    Declaration
    public static bool operator ==(DataTypeName left, DataTypeName right)
    Parameters
    Type Name Description
    DataTypeName left
    DataTypeName right
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    implicit operator string(DataTypeName)

    Declaration
    public static implicit operator string(DataTypeName value)
    Parameters
    Type Name Description
    DataTypeName value
    Returns
    Type Description
    string
    | Improve this Doc View Source

    operator !=(DataTypeName, DataTypeName)

    Declaration
    public static bool operator !=(DataTypeName left, DataTypeName right)
    Parameters
    Type Name Description
    DataTypeName left
    DataTypeName right
    Returns
    Type Description
    bool

    Implements

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