Table of Contents

Class NpgsqlCharacterStringTypeMapping

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

Type mapping for the PostgreSQL 'character' data type. Handles both CLR strings and chars.

public class NpgsqlCharacterStringTypeMapping : NpgsqlStringTypeMapping, INpgsqlTypeMapping
Inheritance
NpgsqlCharacterStringTypeMapping
Implements
Inherited Members

Remarks

Constructors

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

Parameters

parameters RelationalTypeMapping.RelationalTypeMappingParameters

NpgsqlCharacterStringTypeMapping(string, int)

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 NpgsqlCharacterStringTypeMapping(string storeType, int size = 1)

Parameters

storeType string
size int

Properties

Comparer

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 override ValueComparer Comparer { get; }

Property Value

ValueComparer

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

Property Value

NpgsqlCharacterStringTypeMapping

KeyComparer

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 override ValueComparer KeyComparer { get; }

Property Value

ValueComparer

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

ConfigureParameter(DbParameter)

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 void ConfigureParameter(DbParameter parameter)

Parameters

parameter DbParameter

EqualsWithoutTrailingWhitespace(string?, string?)

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 bool EqualsWithoutTrailingWhitespace(string? a, string? b)

Parameters

a string
b string

Returns

bool

GetHashCodeWithoutTrailingWhitespace(string)

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 int GetHashCodeWithoutTrailingWhitespace(string a)

Parameters

a string

Returns

int