Class PostgresEnumType
Represents a PostgreSQL enum data type.
Inherited Members
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
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> |