Search Results for

    Show / Hide Table of Contents

    Class NpgsqlEStringTypeMapping

    Represents a so-called PostgreSQL E-string literal string, which allows C-style escape sequences. This is a "virtual" type mapping which is never returned by NpgsqlTypeMappingSource. It is only used internally by some method translators to produce literal strings.

    Inheritance
    object
    NpgsqlEStringTypeMapping
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlEStringTypeMapping : StringTypeMapping
    Remarks

    See https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS

    Constructors

    | Improve this Doc View Source

    NpgsqlEStringTypeMapping()

    This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    Declaration
    public NpgsqlEStringTypeMapping()
    Remarks

    See https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS

    Methods

    | Improve this Doc View Source

    GenerateNonNullSqlLiteral(object)

    This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

    Declaration
    protected override string GenerateNonNullSqlLiteral(object value)
    Parameters
    Type Name Description
    object value
    Returns
    Type Description
    string
    Remarks

    See https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS

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