PgGucLabelAttribute
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Selects the PostgreSQL configuration label for a C# enum member without creating a PostgreSQL enum type.
[AttributeUsage(AttributeTargets.Field)]public sealed class PgGucLabelAttribute : AttributeInheritance: object, Attribute
Constructors
Section titled “Constructors”PgGucLabelAttribute(string)
Section titled “PgGucLabelAttribute(string)”Selects the PostgreSQL configuration label for a C# enum member without creating a PostgreSQL enum type.
public PgGucLabelAttribute(string name)Parameters:
name — string
The configuration label, compared with PostgreSQL’s case-insensitive ASCII rules.
Properties
Section titled “Properties”Hidden
Section titled “Hidden”Gets or sets whether the label remains accepted while omitted from lists of available values.
public bool Hidden { get; set; }Value: bool
Gets the configuration label.
public string Name { get; }Value: string