Table of Contents

Class NpgsqlEStringTypeMapping

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

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.

public class NpgsqlEStringTypeMapping : StringTypeMapping
Inheritance
NpgsqlEStringTypeMapping
Inherited Members

Remarks

Constructors

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.

public NpgsqlEStringTypeMapping()

Properties

Default

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.

public static NpgsqlEStringTypeMapping Default { get; }

Property Value

NpgsqlEStringTypeMapping

Methods

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.

protected override string GenerateNonNullSqlLiteral(object value)

Parameters

value object

Returns

string