Search Results for

    Show / Hide Table of Contents

    Interface INpgsqlNameTranslator

    A component which translates a CLR name (e.g. SomeClass) into a database name (e.g. some_class) according to some scheme. Used for mapping enum and composite types.

    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public interface 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
    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
    string TranslateTypeName(string clrName)
    Parameters
    Type Name Description
    string clrName
    Returns
    Type Description
    string
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team