Table of Contents

Class NpgsqlEnumTypeMapping

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

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 class NpgsqlEnumTypeMapping : RelationalTypeMapping
Inheritance
NpgsqlEnumTypeMapping
Inherited Members

Constructors

NpgsqlEnumTypeMapping(RelationalTypeMappingParameters, INpgsqlNameTranslator)

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 NpgsqlEnumTypeMapping(RelationalTypeMapping.RelationalTypeMappingParameters parameters, INpgsqlNameTranslator nameTranslator)

Parameters

parameters RelationalTypeMapping.RelationalTypeMappingParameters
nameTranslator INpgsqlNameTranslator

NpgsqlEnumTypeMapping(string, Type, INpgsqlNameTranslator?)

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 NpgsqlEnumTypeMapping(string storeType, Type enumType, INpgsqlNameTranslator? nameTranslator = null)

Parameters

storeType string
enumType Type
nameTranslator INpgsqlNameTranslator

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 NpgsqlEnumTypeMapping Default { get; }

Property Value

NpgsqlEnumTypeMapping

NameTranslator

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 virtual INpgsqlNameTranslator NameTranslator { get; }

Property Value

INpgsqlNameTranslator

Methods

Clone(RelationalTypeMappingParameters)

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 RelationalTypeMapping Clone(RelationalTypeMapping.RelationalTypeMappingParameters parameters)

Parameters

parameters RelationalTypeMapping.RelationalTypeMappingParameters

Returns

RelationalTypeMapping

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