# Class NpgsqlNetTopologySuiteTypeMappingSourcePlugin

Namespace
  Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal

Assembly
  Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite.dll

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 class NpgsqlNetTopologySuiteTypeMappingSourcePlugin : IRelationalTypeMappingSourcePlugin

Inheritance
  object
  NpgsqlNetTopologySuiteTypeMappingSourcePlugin

Implements
  IRelationalTypeMappingSourcePlugin

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Constructors

### 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.

    public NpgsqlNetTopologySuiteTypeMappingSourcePlugin(INpgsqlNetTopologySuiteOptions options)

#### Parameters

`options` INpgsqlNetTopologySuiteOptions

## Methods

### 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.

    public virtual RelationalTypeMapping? FindMapping(in RelationalTypeMappingInfo mappingInfo)

#### Parameters

`mappingInfo` RelationalTypeMappingInfo

#### Returns

RelationalTypeMapping

### 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.

    public static bool TryParseStoreTypeName(string storeTypeName, out string subtypeName, out bool isGeography, out Type? clrType, out int srid, out Ordinates ordinates)

#### Parameters

`storeTypeName` string
`subtypeName` string
`isGeography` bool
`clrType` Type
`srid` int
`ordinates` Ordinates

#### Returns

bool