Search Results for

    Show / Hide Table of Contents

    Class NpgsqlStringTypeMapping

    The base class for mapping Npgsql-specific string types. It configures parameters with the NpgsqlDbType provider-specific type enum.

    Inheritance
    object
    NpgsqlStringTypeMapping
    NpgsqlCharacterStringTypeMapping
    NpgsqlLTreeTypeMapping
    Implements
    INpgsqlTypeMapping
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlStringTypeMapping : StringTypeMapping, INpgsqlTypeMapping

    Constructors

    | Improve this Doc View Source

    NpgsqlStringTypeMapping(RelationalTypeMappingParameters, NpgsqlDbType)

    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 NpgsqlStringTypeMapping(RelationalTypeMappingParameters parameters, NpgsqlDbType npgsqlDbType)
    Parameters
    Type Name Description
    RelationalTypeMappingParameters parameters
    NpgsqlDbType npgsqlDbType
    | Improve this Doc View Source

    NpgsqlStringTypeMapping(string, NpgsqlDbType)

    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 NpgsqlStringTypeMapping(string storeType, NpgsqlDbType npgsqlDbType)
    Parameters
    Type Name Description
    string storeType
    NpgsqlDbType npgsqlDbType

    Properties

    | Improve this Doc View Source

    NpgsqlDbType

    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 virtual NpgsqlDbType NpgsqlDbType { get; }
    Property Value
    Type Description
    NpgsqlDbType

    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

    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

    Implements

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