Struct DataTypeName
Represents the fully-qualified name of a PostgreSQL type.
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
|
Improve this Doc
View Source
IsArray
Declaration
public bool IsArray { get; }
Property Value
|
Improve this Doc
View Source
IsDefault
Declaration
public bool IsDefault { get; }
Property Value
|
Improve this Doc
View Source
Schema
Declaration
public string Schema { get; }
Property Value
|
Improve this Doc
View Source
UnqualifiedDisplayName
Declaration
public string UnqualifiedDisplayName { get; }
Property Value
|
Improve this Doc
View Source
UnqualifiedName
Declaration
public string UnqualifiedName { get; }
Property Value
|
Improve this Doc
View Source
Value
Declaration
public string Value { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(DataTypeName)
Declaration
public bool Equals(DataTypeName other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object? |
obj |
|
Returns
|
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
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
|
Improve this Doc
View Source
ToArrayName()
Declaration
public DataTypeName ToArrayName()
Returns
|
Improve this Doc
View Source
ToDefaultMultirangeName()
Declaration
public DataTypeName ToDefaultMultirangeName()
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Operators
|
Improve this Doc
View Source
operator ==(DataTypeName, DataTypeName)
Declaration
public static bool operator ==(DataTypeName left, DataTypeName right)
Parameters
Returns
|
Improve this Doc
View Source
implicit operator string(DataTypeName)
Declaration
public static implicit operator string(DataTypeName value)
Parameters
Returns
|
Improve this Doc
View Source
operator !=(DataTypeName, DataTypeName)
Declaration
public static bool operator !=(DataTypeName left, DataTypeName right)
Parameters
Returns
Implements
IEquatable<>