Class PgNameAttribute
Indicates that this property or field correspond to a PostgreSQL field with the specified name
Inheritance
System.Object
PgNameAttribute
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public class PgNameAttribute : Attribute
Constructors
PgNameAttribute(String)
Indicates that this property or field correspond to a PostgreSQL field with the specified name
Declaration
public PgNameAttribute(string pgName)
Parameters
Type | Name | Description |
---|---|---|
System.String | pgName | 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
Declaration
public string PgName { get; }
Property Value
Type | Description |
---|---|
System.String |