Class NpgsqlEnumTypeMapping
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.
Inheritance
object
NpgsqlEnumTypeMapping
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlEnumTypeMapping : RelationalTypeMapping
Constructors
|
Improve this Doc
View Source
NpgsqlEnumTypeMapping(RelationalTypeMappingParameters, ISqlGenerationHelper, 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.
Declaration
protected NpgsqlEnumTypeMapping(RelationalTypeMappingParameters parameters, ISqlGenerationHelper sqlGenerationHelper, INpgsqlNameTranslator nameTranslator)
Parameters
Type |
Name |
Description |
RelationalTypeMappingParameters |
parameters |
|
ISqlGenerationHelper |
sqlGenerationHelper |
|
INpgsqlNameTranslator |
nameTranslator |
|
|
Improve this Doc
View Source
NpgsqlEnumTypeMapping(string, string?, Type, ISqlGenerationHelper, 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.
Declaration
public NpgsqlEnumTypeMapping(string storeType, string? storeTypeSchema, Type enumType, ISqlGenerationHelper sqlGenerationHelper, INpgsqlNameTranslator? nameTranslator = null)
Parameters
Type |
Name |
Description |
string |
storeType |
|
string? |
storeTypeSchema |
|
Type |
enumType |
|
ISqlGenerationHelper |
sqlGenerationHelper |
|
INpgsqlNameTranslator? |
nameTranslator |
|
Methods
|
Improve this Doc
View Source
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.
Declaration
protected override RelationalTypeMapping Clone(RelationalTypeMappingParameters parameters)
Parameters
Type |
Name |
Description |
RelationalTypeMappingParameters |
parameters |
|
Returns
Type |
Description |
RelationalTypeMapping |
|
|
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