Search Results for

    Show / Hide Table of Contents

    Class NpgsqlArrayListTypeMapping

    Maps PostgreSQL arrays to .

    Inheritance
    object
    NpgsqlArrayTypeMapping
    NpgsqlArrayListTypeMapping
    Inherited Members
    NpgsqlArrayTypeMapping.ElementMapping
    NpgsqlArrayTypeMapping.NpgsqlDbType
    NpgsqlArrayTypeMapping.IsElementNullable
    NpgsqlArrayTypeMapping.Clone(ValueConverter?)
    NpgsqlArrayTypeMapping.Clone(RelationalTypeMappingParameters)
    NpgsqlArrayTypeMapping.GenerateNonNullSqlLiteral(object)
    NpgsqlArrayTypeMapping.ConfigureParameter(DbParameter)
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlArrayListTypeMapping : NpgsqlArrayTypeMapping
    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

    Constructors

    | Improve this Doc View Source

    NpgsqlArrayListTypeMapping(RelationalTypeMappingParameters, RelationalTypeMapping, bool?)

    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 NpgsqlArrayListTypeMapping(RelationalTypeMappingParameters parameters, RelationalTypeMapping elementMapping, bool? isElementNullable = null)
    Parameters
    Type Name Description
    RelationalTypeMappingParameters parameters
    RelationalTypeMapping elementMapping
    bool? isElementNullable
    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

    | Improve this Doc View Source

    NpgsqlArrayListTypeMapping(string, RelationalTypeMapping)

    Creates the default list mapping.

    Declaration
    public NpgsqlArrayListTypeMapping(string storeType, RelationalTypeMapping elementMapping)
    Parameters
    Type Name Description
    string storeType

    The database type to map.

    RelationalTypeMapping elementMapping

    The element type mapping.

    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

    | Improve this Doc View Source

    NpgsqlArrayListTypeMapping(Type, RelationalTypeMapping)

    Creates the default list mapping.

    Declaration
    public NpgsqlArrayListTypeMapping(Type listType, RelationalTypeMapping elementMapping)
    Parameters
    Type Name Description
    Type listType

    The database type to map.

    RelationalTypeMapping elementMapping

    The element type mapping.

    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

    Methods

    | Improve this Doc View Source

    Clone(RelationalTypeMappingParameters, RelationalTypeMapping)

    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, RelationalTypeMapping elementMapping)
    Parameters
    Type Name Description
    RelationalTypeMappingParameters parameters
    RelationalTypeMapping elementMapping
    Returns
    Type Description
    RelationalTypeMapping
    Overrides
    NpgsqlArrayTypeMapping.Clone(RelationalTypeMappingParameters, RelationalTypeMapping)
    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

    | Improve this Doc View Source

    FlipArrayListClrType(Type)

    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 NpgsqlArrayTypeMapping FlipArrayListClrType(Type newType)
    Parameters
    Type Name Description
    Type newType
    Returns
    Type Description
    NpgsqlArrayTypeMapping
    Overrides
    NpgsqlArrayTypeMapping.FlipArrayListClrType(Type)
    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

    | Improve this Doc View Source

    MakeNonNullable()

    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 NpgsqlArrayTypeMapping MakeNonNullable()
    Returns
    Type Description
    NpgsqlArrayTypeMapping
    Overrides
    NpgsqlArrayTypeMapping.MakeNonNullable()
    Remarks

    Note that mapping PostgreSQL arrays to .NET arrays is also supported via NpgsqlArrayArrayTypeMapping.

    See: https://www.postgresql.org/docs/current/static/arrays.html

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