Search Results for

    Show / Hide Table of Contents

    Class NpgsqlCharacterStringTypeMapping

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

    Inheritance
    object
    NpgsqlStringTypeMapping
    NpgsqlCharacterStringTypeMapping
    Implements
    INpgsqlTypeMapping
    Inherited Members
    NpgsqlStringTypeMapping.NpgsqlDbType
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlCharacterStringTypeMapping : NpgsqlStringTypeMapping, INpgsqlTypeMapping
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    Constructors

    | Improve this Doc View Source

    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.

    Declaration
    protected NpgsqlCharacterStringTypeMapping(RelationalTypeMappingParameters parameters)
    Parameters
    Type Name Description
    RelationalTypeMappingParameters parameters
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    | Improve this Doc View Source

    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.

    Declaration
    public NpgsqlCharacterStringTypeMapping(string storeType, int size = 1)
    Parameters
    Type Name Description
    string storeType
    int size
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    Properties

    | Improve this Doc View Source

    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.

    Declaration
    public override ValueComparer Comparer { get; }
    Property Value
    Type Description
    ValueComparer
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    | Improve this Doc View Source

    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.

    Declaration
    public override ValueComparer KeyComparer { get; }
    Property Value
    Type Description
    ValueComparer
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    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
    Overrides
    NpgsqlStringTypeMapping.Clone(RelationalTypeMappingParameters)
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    | Improve this Doc View Source

    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.

    Declaration
    protected override void ConfigureParameter(DbParameter parameter)
    Parameters
    Type Name Description
    DbParameter parameter
    Overrides
    NpgsqlStringTypeMapping.ConfigureParameter(DbParameter)
    Remarks

    See: https://www.postgresql.org/docs/current/static/datatype-character.html

    Implements

    INpgsqlTypeMapping
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team