Skip to content

PgGucBoolAttribute

Namespace: Ankus

Assembly: Ankus.Runtime.dll

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

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

Inheritance: object, Attribute, PgGucAttribute

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

public PgGucBoolAttribute(string name, bool defaultValue, string shortDescription)

Parameters:

name — string

The qualified configuration name, including its extension prefix.

defaultValue — bool

The compiled default value.

shortDescription — string

The short description displayed in PostgreSQL configuration metadata.

Gets the compiled default value.

public bool DefaultValue { get; }

Value: bool