PgModuleAttribute
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Customizes the native module identity reported by PostgreSQL 18 and later.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]public sealed class PgModuleAttribute : AttributeOmitted values use the project’s assembly name and version. This identity is independent of the SQL extension name and version in its control file. Earlier PostgreSQL versions retain their ordinary module compatibility block.
Inheritance: object, Attribute
Constructors
Section titled “Constructors”PgModuleAttribute()
Section titled “PgModuleAttribute()”public PgModuleAttribute()Properties
Section titled “Properties”Gets or sets the module name, or null to use the managed assembly name.
public string? Name { get; set; }Value: string
Version
Section titled “Version”Gets or sets the module version, or null to use the evaluated project version.
public string? Version { get; set; }Value: string