Search Results for

    Show / Hide Table of Contents

    Class NpgsqlNetTopologySuiteTypeMappingSourcePlugin

    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
    NpgsqlNetTopologySuiteTypeMappingSourcePlugin
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll
    Syntax
    public class NpgsqlNetTopologySuiteTypeMappingSourcePlugin : IRelationalTypeMappingSourcePlugin

    Constructors

    | Improve this Doc View Source

    NpgsqlNetTopologySuiteTypeMappingSourcePlugin(INpgsqlNetTopologySuiteOptions)

    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 NpgsqlNetTopologySuiteTypeMappingSourcePlugin(INpgsqlNetTopologySuiteOptions options)
    Parameters
    Type Name Description
    INpgsqlNetTopologySuiteOptions options

    Methods

    | Improve this Doc View Source

    FindMapping(in RelationalTypeMappingInfo)

    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 RelationalTypeMapping? FindMapping(in RelationalTypeMappingInfo mappingInfo)
    Parameters
    Type Name Description
    RelationalTypeMappingInfo mappingInfo
    Returns
    Type Description
    RelationalTypeMapping?
    | Improve this Doc View Source

    TryParseStoreTypeName(string, out string, out bool, out Type?, out int, out Ordinates)

    Given a PostGIS store type name (e.g. GEOMETRY, GEOGRAPHY(Point, 4326), GEOMETRY(LineStringM, 4326)), attempts to parse it and return its components.

    Declaration
    public static bool TryParseStoreTypeName(string storeTypeName, out string subtypeName, out bool isGeography, out Type? clrType, out int srid, out Ordinates ordinates)
    Parameters
    Type Name Description
    string storeTypeName
    string subtypeName
    bool isGeography
    Type? clrType
    int srid
    Ordinates ordinates
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team