Skip to content

PgDroppedObject

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Owns the identity and dependency metadata of one dropped object after its catalog entries have been removed.

public sealed class PgDroppedObject

Inheritance: object

Gets the immutable address arguments used by pg_get_object_address, preserving null separately from an empty vector.

public IReadOnlyList<string>? AddressArguments { get; }

Value: IReadOnlyList<string>

Gets the immutable address names used by pg_get_object_address, preserving null separately from an empty vector.

public IReadOnlyList<string>? AddressNames { get; }

Value: IReadOnlyList<string>

Gets the OID of the catalog that contained this object.

public uint ClassId { get; }

Value: uint

Gets whether this object was temporary. Temporary objects can still have nonnull address vectors.

public bool IsTemporary { get; }

Value: bool

Gets whether a normal dependency relationship led to this object being dropped.

public bool Normal { get; }

Value: bool

Gets the OID of the dropped object.

public uint ObjectId { get; }

Value: uint

Gets PostgreSQL’s quoted object identity, or null when unavailable.

public string? ObjectIdentity { get; }

Value: string

Gets the object name, or null when PostgreSQL cannot identify it by name alone.

public string? ObjectName { get; }

Value: string

Gets the subobject number, or zero for a whole object.

public int ObjectSubId { get; }

Value: int

Gets PostgreSQL’s description of the dropped object type.

public string ObjectType { get; }

Value: string

Gets whether the object was a root of the deletion operation.

public bool Original { get; }

Value: bool

Gets the schema name, or null when none applies. Temporary schemas are reported using the pg_temp alias.

public string? SchemaName { get; }

Value: string