PgEnumLabelAttribute
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Assigns an exact, case-sensitive PostgreSQL label to a PgEnum member.
[AttributeUsage(AttributeTargets.Field, Inherited = false)]public sealed class PgEnumLabelAttribute : AttributeSpecifies a label of at most 63 UTF-8 bytes, including an empty label.
Inheritance: object, Attribute
Constructors
Section titled “Constructors”PgEnumLabelAttribute(string)
Section titled “PgEnumLabelAttribute(string)”Assigns an exact, case-sensitive PostgreSQL label to a PgEnum member.
public PgEnumLabelAttribute(string label)Parameters:
label — string
The label, without zero characters.
Specifies a label of at most 63 UTF-8 bytes, including an empty label.
Properties
Section titled “Properties”Gets the exact PostgreSQL label.
public string Label { get; }Value: string