Class PgNameAttribute
Indicates that this property or field corresponds to a PostgreSQL field with the specified name
Inheritance
object
PgNameAttribute
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public class PgNameAttribute : Attribute
Constructors
| Improve this Doc View SourcePgNameAttribute(string)
Indicates that this property or field corresponds to a PostgreSQL field with the specified name
Declaration
public PgNameAttribute(string pgName)
Parameters
Type | Name | Description |
---|---|---|
string | pgName | The name of PostgreSQL field that corresponds to this CLR property or field |
Properties
| Improve this Doc View SourcePgName
The name of PostgreSQL field that corresponds to this CLR property or field
Declaration
public string PgName { get; }
Property Value
Type | Description |
---|---|
string |