Skip to content

PgGucEnumAttribute

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Declares an enum PostgreSQL configuration setting on a static partial getter-only property.

[AttributeUsage(AttributeTargets.Property)]
public sealed class PgGucEnumAttribute : PgGucAttribute

Inheritance: object, Attribute, PgGucAttribute

PgGucEnumAttribute(string, object, string)

Section titled “PgGucEnumAttribute(string, object, string)”

Declares an enum PostgreSQL configuration setting on a static partial getter-only property.

public PgGucEnumAttribute(string name, object defaultValue, string shortDescription)

Parameters:

name — string

The qualified configuration name, including its extension prefix.

defaultValue — object

The compiled default value.

shortDescription — string

The short description displayed in PostgreSQL configuration metadata.

Gets the compiled default value.

public object DefaultValue { get; }

Value: object