Skip to content

PgGucIntAttribute

Namespace: Ankus

Assembly: Ankus.Runtime.dll

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

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

Inheritance: object, Attribute, PgGucAttribute

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

public PgGucIntAttribute(string name, int defaultValue, string shortDescription)

Parameters:

name — string

The qualified configuration name, including its extension prefix.

defaultValue — int

The compiled default value.

shortDescription — string

The short description displayed in PostgreSQL configuration metadata.

Gets the compiled default value.

public int DefaultValue { get; }

Value: int

Gets or sets the inclusive maximum value.

public int Maximum { get; set; }

Value: int

Gets or sets the inclusive minimum value.

public int Minimum { get; set; }

Value: int