Search Results for

    Show / Hide Table of Contents

    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 Source

    PgNameAttribute(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 Source

    PgName

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

    Declaration
    public string PgName { get; }
    Property Value
    Type Description
    string
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team