Class PostgresEnumType
Represents a PostgreSQL enum data type.
Inherited Members
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 |
---|---|---|
String | ns | |
String | name | |
UInt32 | oid |
Properties
Labels
The enum's fields.
Declaration
public IReadOnlyList<string> Labels { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<String> |