Table of Contents

Class PgNameAttribute

Namespace
NpgsqlTypes
Assembly
Npgsql.dll

Indicates that this property or field corresponds to a PostgreSQL field with the specified name

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter)]
public class PgNameAttribute : Attribute
Inheritance
PgNameAttribute
Inherited Members

Constructors

PgNameAttribute(string)

Indicates that this property or field corresponds to a PostgreSQL field with the specified name

public PgNameAttribute(string pgName)

Parameters

pgName string

The name of PostgreSQL field that corresponds to this CLR property or field

Properties

PgName

The name of PostgreSQL field that corresponds to this CLR property or field

public string PgName { get; }

Property Value

string