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
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlEStringTypeMapping : StringTypeMapping
Remarks
Constructors
| Improve this Doc View SourceNpgsqlEStringTypeMapping()
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
Methods
| Improve this Doc View SourceGenerateNonNullSqlLiteral(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 |