Search Results for

    Show / Hide Table of Contents

    Class NpgsqlNullNameTranslator

    A name translator which preserves CLR names (e.g. SomeClass) when mapping names to the database.

    Inheritance
    object
    NpgsqlNullNameTranslator
    Implements
    INpgsqlNameTranslator
    Namespace: Npgsql.NameTranslation
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlNullNameTranslator : INpgsqlNameTranslator

    Methods

    | Improve this Doc View Source

    TranslateMemberName(string)

    Given a CLR member name (property or field), translates its name to a database type name.

    Declaration
    public string TranslateMemberName(string clrName)
    Parameters
    Type Name Description
    string clrName
    Returns
    Type Description
    string
    | Improve this Doc View Source

    TranslateTypeName(string)

    Given a CLR type name (e.g class, struct, enum), translates its name to a database type name.

    Declaration
    public string TranslateTypeName(string clrName)
    Parameters
    Type Name Description
    string clrName
    Returns
    Type Description
    string

    Implements

    INpgsqlNameTranslator
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team